Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Full text search for our listings #2117

Open
fancyham opened this issue Apr 12, 2024 · 2 comments
Open

Feature: Full text search for our listings #2117

fancyham opened this issue Apr 12, 2024 · 2 comments
Labels
dev Code Development draft Feature: Usability Issues that make it easy for visitors to find the information they need quickly and easily Missing: Size The effort estimate for this issue is missing p-feature: search Search tool for Food-seekers Ready for dev lead Issue ready for dev lead to review Role: Design UI/UX User interface / user experience design

Comments

@fancyham
Copy link
Collaborator

fancyham commented Apr 12, 2024

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

  • Org name
  • Address
  • Phone number
  • Requirements
  • Email
  • Notes
  • Services
  • Items available
  • etc.

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:

  1. Quotes (for exact text (but not case-specific)), Exclude (i.e. -cheese)
  2. OR (i.e. Parenthesis and commas between items)

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

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

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

@fancyham fancyham added Role: Design UI/UX User interface / user experience design p-feature: search Search tool for Food-seekers Priority - Low Optional: Recommended if time permits Feature: Usability Issues that make it easy for visitors to find the information they need quickly and easily labels Apr 12, 2024
@fancyham fancyham changed the title Feature: Search for text in our listings Feature: Full text search for our listings Apr 12, 2024
@fancyham
Copy link
Collaborator Author

Added sketch for a structured search (which sounds easier to do right now from a technical aspect)

@fancyham fancyham removed the Priority - Low Optional: Recommended if time permits label May 10, 2024
@qiqicodes qiqicodes moved this to Prioritized Backlog in P: FOLA: Project Board May 31, 2024
@fancyham
Copy link
Collaborator Author

related to

@fancyham fancyham added the dev Code Development label Aug 16, 2024
@fancyham fancyham moved this from Prioritized Backlog to New Issue Approval in P: FOLA: Project Board Aug 16, 2024
@sumit-sharma92 sumit-sharma92 added Missing: Size The effort estimate for this issue is missing Missing: Milestone This issue is not part of any milestone labels Sep 26, 2024
@MuthamilselvanG MuthamilselvanG removed the Missing: Milestone This issue is not part of any milestone label Nov 7, 2024
@fancyham fancyham added Ready for dev lead Issue ready for dev lead to review and removed ready for design lead labels Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev Code Development draft Feature: Usability Issues that make it easy for visitors to find the information they need quickly and easily Missing: Size The effort estimate for this issue is missing p-feature: search Search tool for Food-seekers Ready for dev lead Issue ready for dev lead to review Role: Design UI/UX User interface / user experience design
Projects
Status: New Issue Approval
Development

No branches or pull requests

4 participants