Skip to content

[FEATURE] Add Search Parsing #484

@DMalone87

Description

@DMalone87

Is your feature request related to a problem? Please describe.
When using the search bar, I would like to be able to apply filters using text queues that indicate what filters I'd like to apply. For example, if I enter the query "John Smith in:Texas" I want to results to include search results for "John Smith" that are located in Texas

Describe the solution you'd like
Add a function to the Search Provider which parses the search term for the following keywords:

  • in: - Indicates a location filter
  • source: - Indicates a source filter

If one of the keywords is found, the front end should begin suggesting potential locations or sources that can be used to filter the results.

When the search is finally performed, the Provider should send an API request to the search endpoint with the proper filters applied.

Notes:

  • When the search results come back, the correct filters should be checked on the search results page.
  • When a filter is applied via the check boxes, the text filter should be ignored?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions