Open dimus opened 7 years ago
The reason why uni:aglae
passes is that every search is first-letter capitalised before execution. We should discuss what kinds of searcher should be case agnostic.
Exact modifier: search as-is (even 2-or-more white spaces)
Canonical (+ wildcard): clean query ~> make capitalisation (if first two chars are not x<space>
)
NameString:
name
only (omit canonical match)Genus, species, author, subspecies, year: capitalisation, spaces, unicode invariant search
No-modifiers:
ns:
+ match over canonical)
Uninomial search allows lowcase: "uni:algae" finds "Algae C. Linnaeus, 1753" from development db.
genus, species, author, susbspecies do not find records with wrong capitalization.
We need to make it consistent, lets decide what is better to ignore capitalization everywhere in
name_string?search_term
or not.