-
Notifications
You must be signed in to change notification settings - Fork 807
Closed
Description
Hi,
From the docs for elasticsearch-model searching it's hard to understand how to supply options like search_count. for example if I try the following call:
res = MyModel.search search_type: 'count' , query: query, aggs: aggs
where query, and aggs are valid query and aggs object, when trying to access res.response I receive the following error:
nested: SearchParseException[[articles_events][4]: from[-1],size[-1]: Parse Failure [No parser for element [search_type]]]; }]","status":400}
removing search_type: 'count' removes the error as well.
Is there an example of providing the options arg?
Thanks
Metadata
Metadata
Assignees
Labels
No labels