-
Notifications
You must be signed in to change notification settings - Fork 39
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
Multi-level nesting fields problem #15
Comments
Figured it out - obviously I made a mistake taking some assumptions concerning Lucene syntax for nested fields. Did some reading and the query should be formulated as follows: |
You could write the query like this |
Right, thanks @ahivert! Another question: I have defined a few fields as Any hints? |
Hi @synweap15, indeed we did not have For now I close this ticket. |
Sure, I'll open a new issue. Thanks! |
Hello!
First of all I'd like to thank the authors of this amazing library for all the effort - this library really helps when it comes to querying nested fields with ES' Query String Query.
I've found some issue concerning the parser when it comes to parsing multi-level nested fields (nested fields within nested fields).
Here's my definition of
ElasticsearchQueryBuilder
:The query looks like this:
study_units.country.name:italy
The produced output looks like this:
I think that the most outer
path
key should have the value ofstudy_units
instead ofname
.My question - is this a problem with my definition of nested fields, or something is off here?
The text was updated successfully, but these errors were encountered: