Interface OpenSearchSearchStrategy
- All Superinterfaces:
- SearchStrategy
- All Known Implementing Classes:
- AnyTermAnyFieldOpenSearchSearchStrategy,- PhraseOpenSearchSearchStrategy,- StartsWithOpenSearchSearchStrategy
- 
Method SummaryModifier and TypeMethodDescriptionvoidconfigureRequest(org.opensearch.client.opensearch.core.SearchRequest.Builder requestBuilder, SearchContext searchContext) Configures OpenSearchSearchRequest.Methods inherited from interface io.jmix.search.searching.SearchStrategygetName
- 
Method Details- 
configureRequestvoid configureRequest(org.opensearch.client.opensearch.core.SearchRequest.Builder requestBuilder, SearchContext searchContext) Configures OpenSearchSearchRequest.The main step - create appropriate query based on provided SearchContextand set it to request.Configuration of another request parameters is optional. Highlighting, size and offset shouldn't be configured here - these parameters will be overwritten. - Parameters:
- requestBuilder- allows to configure search request
- searchContext- contains details about search being performed
 
 
-