ajah / sks-interface

0 stars 0 forks source link

Backend seems to use OR on all words within a city search term: Adding "New York" brings results for "North York" and "New Jersey". #55

Open gustavohandrade opened 1 year ago

gustavohandrade commented 1 year ago

@brittwitham Ensure the cities are searched as phrases, not independent words, by the search engine.

psdcode commented 1 year ago

@brittwitham when I brought up the issue, I mistakenly used "AND" instead of "OR", changed title to reflect this

psdcode commented 1 year ago

@brittwitham I assume we need AND between the potential multiple words of a single city (new york), but an OR between different cities if there is more than one provided in a query

Also, same parsing should be applied to the region param. I think currently it's an AND between the different regions in a query