Search Improvements#878
Conversation
1cad517 to
cfc746b
Compare
| "customProperties.country", | ||
| ], | ||
| searchResultLimit: 10, | ||
| searchFields: ["label"], |
There was a problem hiding this comment.
Seems to work just fine by matching on the label only. 🤷 I added 10 results which addresses the issues in #865
|
Thanks for working on this 🙌 I may take a few days to review because I leave for a one month sabbatical on Friday so am rushing around to finish things. Regarding the customProperties, this was very intentional so that you can search, for example, "California" and it will look up places that have the state California. See #801. Otherwise, Choices.js uses prefix-matching, so wouldn't match California because the total phrase does not start with California. I have not closely looked into Tony's frustrations in #865, so I can't give a particular recommendation for how to fix it. But ideally we could preserve the benefits of #801 while addressing Tony's feedback. |
@Eric-Arellano: Obviously not a rush! Also: Hi! 👋 Nice to meet you via github PR 😆 ! Have fun on sabbatical! |
cfc746b to
0736e9f
Compare
TODO
Fixes #865