Re: top_hits and post_filter

2015-01-29 Thread Radim Novotny
Thanks, that did the trick :) Radim Dne pondělí 26. ledna 2015 10:02:24 UTC+1 David Pilato napsal(a): Can you use a filter agg? http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-bucket-filter-aggregation.html David Le 26 janv. 2015 à 09:46, Radim

top_hits and post_filter

2015-01-26 Thread Radim Novotny
Hi, I'm using ES 1.4.2 to search across 4 slightly different types in a single index. The following example is simplified version with only two types profile and publication. Profiles can have related publications, publications can have related profiles. I want to do a full text search