I have a search request like this:
My docs have a type, and the types like "sport", "health", "news" and etc,
and now I want the result count is mapping percent by types: sport 10%,
health 30%, news 60%.
Eg: if I search to get 200 records, I expect that the 200 records include
20 news records, 60 health records and 120 news records.
I know I can calculate this after multiple search, but can I do it using
thanks for any suggest!
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/229aa050-51b9-46b6-8c89-0d457ca6c71f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.