-
Notifications
You must be signed in to change notification settings - Fork 24.7k
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
inner_hits - possible to have search_type
set to count
?
#10358
Comments
@jaddison This looks like a bug, you should be able to set Inner hits is a fetch phase feature. When setting |
With this query:
Here's the result:
|
This is odd, inner_hits itself doesn't use TotalHitCountCollector... |
|
I tried setting the
inner_hits
size
option to 0, but this causes an exception. Will it be possible to ONLY get back total matching inner hits, like we can with normal queries with http://www.elastic.co/guide/en/elasticsearch/reference/1.4/search-request-search-type.html#count?The text was updated successfully, but these errors were encountered: