haiku/headers/private/file_systems
Augustin Cavalier 44e9aa9f33 file_systems/QueryParser: Don't let the equation score be 0 if there's an index.
Without this, a query term that does have an index but for which
the pattern starts with a wildcard (e.g. "*term*") is treated as having
a score of 0. That means that it is then dependent on the query order
as to whether or not the equation will run at all, since if all the terms
have a score of 0 but one has an index, placing that term first
will make the query run while any other would not.

Fixes #18672.
2024-06-26 18:20:50 -04:00
..
ram_disk ramdisk: Switch to CLI command for user interface 2013-11-30 17:02:49 +01:00
DebugSupport.h general/logs: Ensure all logs start with THING: 2022-09-08 17:59:21 +00:00
DeviceOpener.h fs_shell: Prevent inclusion of BSD headers; fix DeviceOpener. 2020-05-10 12:44:46 -04:00
fs_ops_support.h file_systems/fs_ops_support: Add open_mode_to_access. 2023-01-27 23:53:53 -05:00
mime_ext_table.h FUSE compat: add MIME type faking 2017-02-27 19:58:22 +00:00
QueryParser.h file_systems/QueryParser: Don't let the equation score be 0 if there's an index. 2024-06-26 18:20:50 -04:00
QueryParserUtils.h file_systems/QueryParser: Rewrite parsing logic to avoid recursion. 2024-06-24 19:40:08 +00:00