GlobalNamesArchitecture / gnresolver

MIT License
0 stars 0 forks source link

Inconsistent behavior in faceted search with "wrong" capitalization #98

Open dimus opened 7 years ago

dimus commented 7 years ago

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.

alexander-myltsev commented 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.

alexander-myltsev commented 7 years ago

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:

Genus, species, author, subspecies, year: capitalisation, spaces, unicode invariant search

No-modifiers: