Interface SearchIndexWriter
- All Known Implementing Classes:
OpenSearchBulkIndexWriter
public interface SearchIndexWriter
A mean to write to or remove a document from a search index.
- Since:
- 7.16
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(AtlassianDocument document) void
delete
(SearchQuery searchQuery) void
void
void
void
update
(String documentId, AtlassianDocument document) Applies partial updates to the document with the given id.
-
Method Details
-
add
- Throws:
IOException
-
delete
- Throws:
IOException
-
deleteAll
- Throws:
IOException
-
preOptimize
- Throws:
IOException
-
postOptimize
- Throws:
IOException
-
update
Applies partial updates to the document with the given id. The updates applied are the fields specified in the document passed as an argument. OpenSearch Only. DO NOT USE for Lucene.- Parameters:
documentId
- ID of the existing document to be updateddocument
- The partial update to be applied to the existing document- Throws:
IOException
- Since:
- 9.2.5
-