-
Notifications
You must be signed in to change notification settings - Fork 1.2k
"[query_string] query does not support [fields]" error #8036
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
Comments
Currently having the same problem with version 8.12.0, when you only use one field the error occurs but if you add more than one field the query works. |
@stevejgordon perhaps #8018 broke this? In that PR, I don't see any tests. Are there tests in another repository that verified this change? |
@flobernd @stevejgordon is there a plan to fix this bug? Should we expect a hotfix? |
@gpetrou Yes. In the meantime please downgrade to the last version, if possible. |
We were never able to upgrade due to this issue. Is this going to be addressed in the upcoming release? |
Yes. This will be fixed in 8.12.1 by reverting the PR that broke it. In one of the 8.13.x patch releases I will reintroduce the (stored_fields) fix in a way that does not affect the QueryStringQuery. |
Fixed in 8.12.1 |
Elastic.Clients.Elasticsearch version: 8.12.0
Elasticsearch version: 8.2.2
.NET runtime version: net8.0
Operating system version: Windows 11
Description of the problem including expected versus actual behavior:
Using Fields property of QueryStringQuery does not work anymore. There is a "[query_string] query does not support [fields]" error.
Steps to reproduce:
Expected behavior
The code does not result in an error.
Provide
ConnectionSettings
(if relevant):Provide
DebugInformation
(if relevant):The text was updated successfully, but these errors were encountered: