healthyregions / SDOHPlace

Landing page and data discovery application for SDOH Place Project.
https://sdohplace.org
GNU General Public License v3.0
1 stars 0 forks source link

Review `handleSearch` to adjust suggestionBuilder once suggestion endpoint is fixed #265

Open pengyin-shan opened 4 weeks ago

pengyin-shan commented 4 weeks ago

HandleSearch should be updated to accommodate the new approach, and the suggestionQueryBuilder may need to be removed after HandleSearch is widely adopted for conducting searches exclusively. Review this method after the suggestion endpoint is fixed.

pengyin-shan commented 1 week ago

Hi @mradamcox, no rush, but do you have any idea why our suggestion endpoint isn't working? For example, https://solr.sdohplace.org/solr/blacklight-core-dev/suggest?q=education isn’t returning any suggestions. I’m wondering if a re-ingestion might help 🤔

mradamcox commented 1 week ago

You are right, it needed to be fully reindexed (all records deleted and then recreated from our JSON metadata records). I assume it stopped working because I had tried some alterations to the schema for the suggestion field, but didn't realized I had to fully reindex to have them be implemented. Thanks for the suggestion!

pengyin-shan commented 1 week ago

Great, thank you! Once the suggest endpoint is working again, I will refine the updated search methods and fix the autocomplete feature for the search box.

mradamcox commented 1 week ago

Ok all set, it is now working on both the Solr cores.

pengyin-shan commented 1 week ago

awesome, thanks!