Class OpenSearchEntityIndexer
java.lang.Object
io.jmix.search.index.impl.BaseEntityIndexer
io.jmix.searchopensearch.index.impl.OpenSearchEntityIndexer
- All Implemented Interfaces:
- EntityIndexer
Implementation for OpenSearch
- 
Nested Class SummaryNested classes/interfaces inherited from class io.jmix.search.index.impl.BaseEntityIndexerBaseEntityIndexer.IndexDocumentData
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final org.opensearch.client.opensearch.OpenSearchClientFields inherited from class io.jmix.search.index.impl.BaseEntityIndexerdataManager, fetchPlans, idSerialization, indexConfigurationManager, indexStateRegistry, metadata, metadataTools, objectMapper, searchProperties
- 
Constructor SummaryConstructorsConstructorDescriptionOpenSearchEntityIndexer(UnconstrainedDataManager dataManager, FetchPlans fetchPlans, IndexConfigurationManager indexConfigurationManager, Metadata metadata, IdSerialization idSerialization, IndexStateRegistry indexStateRegistry, MetadataTools metadataTools, SearchProperties searchProperties, org.opensearch.client.opensearch.OpenSearchClient client) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected IndexResultcreateIndexResult(org.opensearch.client.opensearch.core.BulkResponse response) protected org.opensearch.client.opensearch.core.BulkResponseprotected IndexResultdeleteByGroupedDocIds(Map<IndexConfiguration, Collection<String>> groupedDocIds) protected org.opensearch.client.opensearch.core.BulkResponseexecute(org.opensearch.client.opensearch.core.BulkRequest.Builder requestBuilder) protected org.opensearch.client.opensearch.core.BulkResponseexecuteBulkRequest(org.opensearch.client.opensearch.core.BulkRequest request) protected IndexResultindexDocuments(List<BaseEntityIndexer.IndexDocumentData> documents) protected org.opensearch.client.opensearch._types.RefreshMethods inherited from class io.jmix.search.index.impl.BaseEntityIndexeraddFieldValueToEntityIndexContent, createFetchPlan, createObjectNodeForField, delete, deleteByEntityId, deleteByGroupedIndexIdsInternal, deleteCollection, deleteCollectionByEntityIds, generateIndexDocument, index, indexByEntityId, indexCollection, indexCollectionByEntityIds, indexGroupedInstances, merge, prepareIndexIdsByEntityIds, prepareIndexIdsByEntityInstances, prepareInstancesForIndexing, prepareInstancesForIndexingByIds, reloadEntityInstances, updateArray, updateObject
- 
Field Details- 
clientprotected final org.opensearch.client.opensearch.OpenSearchClient client
 
- 
- 
Constructor Details- 
OpenSearchEntityIndexerpublic OpenSearchEntityIndexer(UnconstrainedDataManager dataManager, FetchPlans fetchPlans, IndexConfigurationManager indexConfigurationManager, Metadata metadata, IdSerialization idSerialization, IndexStateRegistry indexStateRegistry, MetadataTools metadataTools, SearchProperties searchProperties, org.opensearch.client.opensearch.OpenSearchClient client) 
 
- 
- 
Method Details- 
indexDocuments- Specified by:
- indexDocumentsin class- BaseEntityIndexer
 
- 
deleteByGroupedDocIdsprotected IndexResult deleteByGroupedDocIds(Map<IndexConfiguration, Collection<String>> groupedDocIds) - Specified by:
- deleteByGroupedDocIdsin class- BaseEntityIndexer
 
- 
executeprotected org.opensearch.client.opensearch.core.BulkResponse execute(org.opensearch.client.opensearch.core.BulkRequest.Builder requestBuilder) 
- 
executeBulkRequestprotected org.opensearch.client.opensearch.core.BulkResponse executeBulkRequest(org.opensearch.client.opensearch.core.BulkRequest request) 
- 
createNoopBulkResponseprotected org.opensearch.client.opensearch.core.BulkResponse createNoopBulkResponse()
- 
createIndexResultprotected IndexResult createIndexResult(org.opensearch.client.opensearch.core.BulkResponse response) 
- 
resolveRefreshprotected org.opensearch.client.opensearch._types.Refresh resolveRefresh()
 
-