|
This version is still in development and is not considered stable yet. For the latest stable version, please use Spring Data Meilisearch 0.13.0! |
Repositories
This chapter explains the Spring Data repository abstraction and the Meilisearch-specific repository behavior implemented by Spring Data Meilisearch.
The goal of the repository abstraction is to reduce boilerplate for data-access code while still allowing direct use of MeilisearchOperations when you need lower-level control.
The repository chapter follows the general Spring Data reference-manual shape, but its scope is intentionally limited to the repository features that this module actually implements today. In particular, Spring Data Meilisearch currently documents:
-
repository definitions based on
MeilisearchRepository<T, ID>, -
repository bootstrap through Java configuration and the XML namespace,
-
the built-in CRUD, sorting, and paging methods backed by
SimpleMeilisearchRepository, -
a limited set of filter-backed derived finder methods,
-
declared filter/full-text searches through
@Queryannotations or named query templates, -
store-specific behavior such as automatic settings application and the difference between document-backed and search-backed methods.
Derived operators remain limited to the documented subset. See Query Methods for derived and declared query contracts and their limits.
Read the common repository fundamentals first, then continue with the store-specific pages in this chapter to understand the exact repository surface exposed by Spring Data Meilisearch.