Is your feature request related to a problem? Please describe.
A future version of the Index will allow a user to search for an officer or agency by name using a single search bar. We should create a more flexible search endpoint that will return results of various types that match the search terms.
Describe the solution you'd like
Add a general search endpoint the the API that can return results of any type. This endpoint should accept a string and return a list of results that are separated into categories (Officers, Agencies) and ordered by relevance.
Describe alternatives you've considered
Our current methods allow a user to search only for a single type of record.
Is your feature request related to a problem? Please describe. A future version of the Index will allow a user to search for an officer or agency by name using a single search bar. We should create a more flexible search endpoint that will return results of various types that match the search terms.
Describe the solution you'd like Add a general search endpoint the the API that can return results of any type. This endpoint should accept a string and return a list of results that are separated into categories (Officers, Agencies) and ordered by relevance.
Describe alternatives you've considered Our current methods allow a user to search only for a single type of record.
Additional context User Workflows