atomic-server
atomic-server copied to clipboard
Search is case-sensitive
A user will probably expect the search feature to be case-insensitive, because most other search engines are. If they get no hit, they will assume the thing doesn't exit, rather than to try different casings. A simple solution might be to just remove the case-sensitivity in all searches, but maybe a more complicated solution is preferable, e.g. do a case-sensitive search first and if that has no hits, do a case-insensitive search after. Or maybe start with a case-insensitive search, but put the exact matches higher in the results.
We could downcase all text strings during both indexing and queries (simplest solution for now), but I'd rather not remove capitalization information index time.
I'm planning on making some major changes to search sometime soon (see #226), and I'll need to update tantivy. I'll fix this issue then too.