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
WIP :Throw appropriate exception when applying filters on stored but non-indexed field #415
Conversation
777493e
to
628f071
Compare
628f071
to
9fe8b48
Compare
@@ -205,6 +205,10 @@ private BoolQueryBuilder filter(Expression expression, String dateFormat) throws | |||
throw new InvalidParameterException(INVALID_PARAMETER_F); | |||
} | |||
String field = expression.field; | |||
FieldMD fieldMD = getFieldStatus(field); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't really understand what is the difference between fieldMD and fieldStatus, why is not always the same?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I first called it FieldStatus before renaming it to FieldMD. I forgot to rename it everywhere
ee9d1bb
to
801ca89
Compare
Still working on it? Maybe it could be rebased/merged or closed? |
@MohamedHamouGisaia Should we close this PR? |
Fix #357