Skip to content
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

Error "Specified method is not supported" when querying the Nested List field in Elasticsearch #132

Open
hgmauri opened this issue Nov 3, 2023 · 2 comments
Labels
elasticsearch enhancement New feature or request

Comments

@hgmauri
Copy link

hgmauri commented Nov 3, 2023

Details

Hello

When using Gridify with Elasticsearch, I receive an error when I perform a query on a nested list:

image

Analyzing the code, I saw that a NotSupportedException is generated when entering this method.

image

Do you have an estimate of when you will release the elasticsearch query on Nested fields such as a list?

@hgmauri hgmauri added the enhancement New feature or request label Nov 3, 2023
@alirezanet
Copy link
Owner

Hi @hgmauri,

Thank you for your feedback. We are planning to enhance this extension in the near future, although I cannot provide you with an exact timeline at the moment. My intention is to prioritize the most requested features, and I will place this one at the top of the list.

May I inquire about your expected Elastic DSL query in this particular case? (In JSON form, if possible.)

@hgmauri
Copy link
Author

hgmauri commented Nov 3, 2023

@alirezanet

In this case, I made a query in a Nested Type field, but it was not included in the construction of the query because the query is of the Nested type (as shown in the red highlight).

Another point is that I had to customize the reading of my Elasticsearch fields by forcing the ".LowerCamelCase()" method to be called to use the Camel Case.

image

And this is my Index class:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
elasticsearch enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants