Eliminate query terms based on their document frequency!

Hi,

How can we configure elastic search to eliminate query terms specific to
field based on document frequency threshold?

for eg: for query "title:test AND title:west AND desc:world AND
desc:hello"
Assume document frequency threshold is set to 10 and few terms in the query
i.e,* desc*:world and title:test have document frequency greater than 10,
i.e query should be changed to "title:west AND desc:hello".

one approach is to query for each terms in the and based on retrieved
document count eliminate such terms exceeding the given document frequency
threshold, but this is not effective as it increases number of searches
drastically!

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/52efe61d-2e5d-40d3-9666-adf155496c33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

anyone have idea on above stuff ?

On Thursday, 19 February 2015 02:36:09 UTC+5:30, sri krishna wrote:

Hi,

How can we configure elastic search to eliminate query terms specific to
field based on document frequency threshold?

for eg: for query "title:test AND title:west AND desc:world AND
desc:hello"
Assume document frequency threshold is set to 10 and few terms in the
query i.e,* desc*:world and title:test have document frequency greater
than 10, i.e query should be changed to "title:west AND desc:hello".

one approach is to query for each terms in the and based on retrieved
document count eliminate such terms exceeding the given document frequency
threshold, but this is not effective as it increases number of searches
drastically!

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/8cdc00a9-6ec1-4f95-84dc-3c4477bafd27%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.