Skip to content

Conversation

samiadvize
Copy link

When using filtered it needs to be in a query not body or you get an error message like

'BroadcastShardOperationFailedException[[indexName][1] ]; nested: QueryParsingException[[indexName] request does not support [filtered]];
  • an opening { was missing

@spalger
Copy link
Contributor

spalger commented Sep 24, 2015

Sorry I never provided feedback here, but the commit never updated when you signed the CLA and values put at the top level of the params are placed in the query string (not the query part of the body). In this case it probably sent ?query=[object Object] to elasticsearch.

@spalger spalger closed this Sep 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants