New issue
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
DATAMONGO-1467 - Support partial filter expressions in indexing. #380
Conversation
Thanks, Christian. This looks decent. I wonder whether the API on I am still a bit torn on the annotation attribute as it feels like that might take us a bit to far into programming in annotations. Granted, there is So I wonder: would you be terribly disappointed if we dropped the annotation attribute and required users to manually create (more complicated) indexes through the API? I feel like this would hint users to a model where they get more control over when indexes are created and could also trigger index recreation explicitly whenever they want. |
Hey Oliver, of course I would be disappointed, as you know, programmers need appreciation ;). But I understand your argumentation. And it sounds valid. Since you told me on the spring io ?2014/15?, that you don't really like the So its up to you. If you like to have some changes, - tell me, otherwise feel free to close it. And I will not be terribly disappointed, - only dissappointed :) Best Regards, |
Okay, what about the following plan: we start with the implementation in the Do you want me to take over regarding that change and the one regarding |
That sounds like a plan. The problem with the schedule is that I can work only a view hours on the train today and tomorrow. And I would need to get familiar with the I could offer that I remove the I would also have no problem if you take over. To be honest I think till early Thursday I have to less time for it. |
Never mind, I can just take it. Just didn't want to step on your toes :). |
Thank you very much :). |
Superseded by #431. |
I think, it is sad, to not implement that as an annotation. Now I have to specify my indexes at different places or do not use annotations at all anymore |
Implementing the partialFilterExpression.
Please have a look to the following points in detail:
partialFilter
instead of mongos namepartialFilterExpression
. I thought the word "expression" may leads into wrong assumptions regarding Springs Expression languageError:(5, 8) java: cannot access org.springframework.data.repository.query.QueryByExampleExecutor class file for org.springframework.data.repository.query.QueryByExampleExecutor not found