it was not my intention to push this as a feature request. The
TermFacet is good we are just trying how far we can go with it.
I see that you have the script field and _index variable not sure
exactly how they work but is it possible to do something like:
"field" : "tag",
"size" : 10,
"script" : "_index>5? true : false"
What will be even more interesting for us is to know is it possible
for a TermFacet ordered by COUNT to specify the maximum percent of
documents it is contained in.
For example if I have 100 documents I want to see terms which are
available in less than 30% of the documents. I suppose this is not
very easy and I haven't seen this feature anywhere yet.
On Aug 24, 9:27 pm, Shay Banon kim...@gmail.com wrote:
We can potentially add min count as an additional parameter, but, it will
need to be applied on the shard level to filter in / out docs computation.
On Wed, Aug 24, 2011 at 4:59 PM, Ridvan Gyundogan ridva...@gmail.comwrote:
I am experimenting with the TermFacet especially the REVERSE_COUNT
This gives me at the top terms which are available in 1 document. Can
I somehow tell Elastic Search to return me terms which are available
in more than minCount documents?