We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
huantt opened DATAMONGO-2373 and commented
Please allow to specify index for query by MongoRepository
No further details from DATAMONGO-2373
The text was updated successfully, but these errors were encountered:
Add Hint annotation
3bf306b
This commit introduces the new `@Hint` annotation that allows to override MongoDB's default index selection for repository query, update and aggregate operations. ``` @hint("lastname-idx") List<Person> findByLastname(String lastname); @query(value = "{ 'firstname' : ?0 }", hint="firstname-idx") List<Person> findByFirstname(String firstname); ``` Closes: #3230
7b44f78
Polishing.
89c6099
Reformat code. Make getAnnotatedHint non-nullable. See #3230 Original pull request: #4339
christophstrobl
Successfully merging a pull request may close this issue.
huantt opened DATAMONGO-2373 and commented
Please allow to specify index for query by MongoRepository
No further details from DATAMONGO-2373
The text was updated successfully, but these errors were encountered: