Customizing search results
OpenSearch provides fundamental search capabilities and options that form the foundation of most search applications. These features work with all search types including keyword, vector, and AI search.
Pagination
Control how search results are accessed across large result sets:
- Paginate results: Rather than a single, long list, separate search results into pages.
- Point in Time: Run different queries against a dataset that is fixed in time.
Sort and filter
Apply the most common result refinements:
- Sort results: Allow sorting of results by different criteria.
- Filter results: Filter search results based on specific criteria.
Result processing
Control what data is returned and how it’s organized:
- Collapse results: Collapse search results to show only unique values for a specified field.
- Retrieve specific fields: Retrieve only the specific fields you need.
- Retrieve inner hits: Retrieve underlying hits in nested and parent-join objects.
Result formatting
Customize how search results are visually presented:
- Highlight query matches: Highlight the search term in the results.
Query enhancement
Enhance user queries in real-time to improve search accuracy and user experience:
- Autocomplete functionality: Suggest phrases as the user types.
- Did-you-mean functionality: Check spelling of phrases as the user types.
Query enhancement
Enhance user queries in real-time to improve search accuracy and user experience:
- Autocomplete functionality: Suggest phrases as the user types.
- Did-you-mean functionality: Check spelling of phrases as the user types.