Interface SearchClient
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
InMemorySearchClient,WebSocketSearchClient
-
Method Summary
Modifier and TypeMethodDescriptionbulkUpdate(Collection<DocumentUpdate> updates, Guarantee guarantee) voidclose()createAuditTrail(CreateAuditTrail request) delete(SearchQuery query, Guarantee guarantee) default CompletableFuture<Void>deleteCollection(String collection) deleteCollection(String collection, Guarantee guarantee) fetch(GetDocument request) fetchHistogram(GetSearchHistogram request) fetchStatistics(SearchQuery query, List<String> fields, List<String> groupBy) index(List<SerializedDocument> documents, Guarantee guarantee, boolean ifNotExists) search(SearchDocuments searchDocuments, int fetchSize)
-
Method Details
-
index
CompletableFuture<Void> index(List<SerializedDocument> documents, Guarantee guarantee, boolean ifNotExists) -
search
-
fetch
-
delete
-
delete
-
createAuditTrail
-
deleteCollection
-
deleteCollection
-
fetchStatistics
-
fetchHistogram
-
bulkUpdate
-
close
void close()- Specified by:
closein interfaceAutoCloseable
-