Feature: Full text search for our listings #2117
Labels
dev
Code Development
Feature: Search
Search tool for Food-seekers
Feature: Usability
Issues that make it easy for visitors to find the information they need quickly and easily
Role: Design UI/UX
User interface / user experience design
This would involve some dev search work, then some UI work to create the filter UI
Impact 4/5 (where 5 is very impactful) - this would help greatly for people looking for specific terms like 'senior' or 'veteran' or "First Lutheran Church of Inglewood" or "kosher"
How is it now?
Currently, there is no way to search for a term in our database, other than with simple tag filters (pantry, meal), location, and hours.
There's no way to search for an organization name, nor what services it provides.
Also, much of our content is in free-form text descriptions ("We provide services only to seniors, veterans"), and not explicitly tagged ('baby diapers available'), so while searching for tags is nice, there is still a huge gap.
Proposed new feature
Allow the user to search for text in the organization's listing's text fields
Discussion
MVP is an "AND" search — all words entered must be present (non-case-specific).
Stretch: It would be amazing if we could also support some level boolean searches and quotes:
Most important, in my mind:
We could use the Google search operators, since Google is so popular: i.e. "diapers" -cheese (kosher, -pork)
https://southern.libguides.com/google/boolean
alternatively, or as MVP, a structured search that brea is out each field could also work.
Designs:
Text filter UI if we do full-text search
![image](https://private-user-images.githubusercontent.com/3376957/321851042-d37ee35a-5465-4c4a-b879-1a4d672b6c18.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQzMjY1NTUsIm5iZiI6MTcyNDMyNjI1NSwicGF0aCI6Ii8zMzc2OTU3LzMyMTg1MTA0Mi1kMzdlZTM1YS01NDY1LTRjNGEtYjg3OS0xYTRkNjcyYjZjMTgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjJUMTEzMDU1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NmUwMmQzZmQxMTg4MWUwNjU4MzkyMTMzYzRlZTdlZjJkODQ5YWM5NmU5YzdjNjZlNWQ2NzRjYTExZDM0NTIzNyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.5LaDOb1arKCvGY7t0zXKGjD61dXaqLSoi3GLiD2kIZ4)
Filter if we do structured search:
(same as above but at bottom… this instead of that single text field)
Name: (Boolean text search)
Address: (Boolean text search)
Phone number: (Boolean text search)
Eligibility: (Boolean text search)
Languages:
(Full checklist of tags used in this field for this region)
Notes: (Boolean text search)
Covid Notes: (Boolean text search)
Services:
(Full checklist of tags used in this field for this region)
Items available:
(Full checklist of tags used in this field for this region)
Something kind of like this but see above for full details:
![image](https://private-user-images.githubusercontent.com/3376957/329676104-ee7fe351-7a7b-4281-b539-8095df61fe22.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQzMjY1NTUsIm5iZiI6MTcyNDMyNjI1NSwicGF0aCI6Ii8zMzc2OTU3LzMyOTY3NjEwNC1lZTdmZTM1MS03YTdiLTQyODEtYjUzOS04MDk1ZGY2MWZlMjIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjJUMTEzMDU1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9M2E0MzZjZTE4NDRmYjI5ODM1MThkMDNjYTgyZTg2NTFlNDY5OTRjMzdhODBhNDNlZDBiYzQwMzdkNjM2ZmEyYiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.EjqvOKCTT4Xg6kf9TXCs3z09qFpw98eqkJbeUV3X0pw)
search results:
Just show matching results is MVP and put at top of search results "Searching for X" (where X is the search term the user entered)…
but if possible: highlight or bold matching text, including surfacing the matching text snippet to the top level search results when necessary. See Google for example. This would make it even more user-friendly.
![image](https://private-user-images.githubusercontent.com/3376957/321851269-41172fea-df61-4309-ba80-2fe6a9a84114.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQzMjY1NTUsIm5iZiI6MTcyNDMyNjI1NSwicGF0aCI6Ii8zMzc2OTU3LzMyMTg1MTI2OS00MTE3MmZlYS1kZjYxLTQzMDktYmE4MC0yZmU2YTlhODQxMTQuanBlZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIyVDExMzA1NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThlMzFmNmZkNmUwM2JhMTRiZDRiMDc2ZGYxZmQ5NWJmYzg0YzMwMDk4YTk2NDMzOTE1MWUzMGQzYjFlMzk5YjcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.-h30Ni_MpSR4cIYES_uNfwoOfeFqQZR3uQY4AVXOwV8)
The text was updated successfully, but these errors were encountered: