iDigBio / idigbio-search-api

Server-side code driving iDigBio's search functionality.
GNU General Public License v3.0
24 stars 5 forks source link

Location searches don't work with quoted strings #48

Closed wilsotc closed 4 years ago

wilsotc commented 4 years ago

Trina Roberts (troberts@nhm.org) sent a message using the contact form at https://www.idigbio.org/contact/Portal_feedback.

Searching for a two-word phrase such as "Death Valley" or "National Park" (in quotes or not in quotes) in the Locality field or Verbatim Locality field returns zero records even though there are definitely records containing that phrase.

This seems like incorrect behavior. Should it work?

To replicate the search results I'm getting: Filter for LACM as the institution code Filter for Death in the Locality field --> 402 records, the first one a blackbird whose locality includes Death Valley Filter for Death Valley in the Locality field --> No matching records

wilsotc commented 4 years ago

This was an index setting.