Base class for Elasticsearch retrieval strategies.
BaseRetrievalStrategy()Executes when a search is performed on the store.
Executes when the index is created.
Executes before the index is created. Used for setting up any required Elasticsearch resources like a pipeline.
Returns whether or not the strategy requires inference to be performed on the text before it is added to the index.