I have an index of approximately 10 different document types. When user
does a search, I'd like to provide a couple (let's say 5) of hits of each
type for the user to narrow the search to some type only. At this point, I
should also provide a total number of hits per type. Currently I make 10
searches against the index with total result count of 5, but was wondering
whether similar results could be received with only one search against ES?
I'd like to also use ES's scoring capabilities to get the index-wide best
match (no matter which type) as the preferred type, apparently no when the
queries are done per-type the scores are also given per type and they are
not comparable with each other.
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 email@example.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/38e263ec-3a24-48c0-bd7e-20b7264418d5%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.