Interface MeilisearchOperations
- All Superinterfaces:
DocumentOperations,SearchOperations
- All Known Implementing Classes:
MeilisearchTemplate
The operations for Meilisearch APIs.
- Author:
- Junghoon Ban
- See Also:
-
ClientIndex
-
Method Summary
Modifier and TypeMethodDescription<T> voidapplySettings(Class<T> clazz) Apply the default settings for the given entity class.Return theMeilisearchConverter.Return operations bound to the index resolved for the given entity class.Return operations bound to the given index uid.Return operations for instance-level APIs.Methods inherited from interface io.vanslog.spring.data.meilisearch.core.DocumentOperations
delete, delete, delete, delete, deleteAll, exists, get, multiGet, multiGet, multiGet, multiGet, save, saveMethods inherited from interface io.vanslog.spring.data.meilisearch.core.SearchOperations
count, facetSearch, multiSearch, multiSearch, search, similarSearch
-
Method Details
-
instanceOps
MeilisearchInstanceOperations instanceOps()Return operations for instance-level APIs.- Returns:
- instance operations
-
indexOps
Return operations bound to the index resolved for the given entity class.- Parameters:
entityClass- the entity class, must be annotated withDocument- Returns:
- index operations
-
indexOps
Return operations bound to the given index uid.- Parameters:
indexUid- the index uid, must not be empty- Returns:
- index operations
-
applySettings
Apply the default settings for the given entity class.- Type Parameters:
T- the type of the entity- Parameters:
clazz- the entity class, must be annotated withDocument
-
getMeilisearchConverter
MeilisearchConverter getMeilisearchConverter()Return theMeilisearchConverter.- Returns:
MeilisearchConverter
-