Changes between Initial Version and Version 1 of Ticket #19316, comment 14
- Timestamp:
- Jan 3, 2025, 5:28:06 PM (4 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #19316, comment 14
initial v1 2 2 This was also raised back in the day with #4636 but marked as invalid - I think the issue might have been similar infact. 3 3 4 1. there is no index type `bool`, so if you create a `Boolean` attribute in _FileTypes_, you won't be able to search for it [1]5 1. mkindex -t int actually creates an index for a int32 value and will only work with that. I tried creating an int8attribute with FileTypes to save space (even that is a waste for a boolean...) and it would not work.4 1. there is no index type `bool`, so if you create a `Boolean` attribute in ''FileTypes'', you won't be able to search for it [1] 5 1. `mkindex -t int` actually creates an index for an `int32` value and will only work with that. I tried creating an `int8` attribute with FileTypes to save space (even that is a waste for a boolean...) and it would not work. 6 6 1. if you need to reindex, the changes might not be found (at least with the '-r` option to scan a whole directory. Seems I hit a caching problem with my SSD, 2nd time a bit later or providing the file explicitly it worked. 7 7 … … 11 11 1. reindex if needed - mind the cache! 12 12 13 [1] mkindex -t option must be one of "int", "llong", "string", "float", or "double" and defaults to "string". This is what I accidentally did for my `starred` attribute.14 15 13 Regarding this issue, that means imo: 16 14 1. fix FileTypes to avoid this confusion - it needs a "Searchable" option similar to the "Editable" option, too, else we are giving away the coolest feature of Haiku(FS) and confuse users without any need, but that's another issue. 17 15 1. possibly introduce a boolean index - is this supported by BFS or would this require filesystem changes? 16 17 [1] mkindex -t option must be one of "int", "llong", "string", "float", or "double" and defaults to "string". This is what I accidentally did for my `starred` attribute.