Just a guess, but I would assume that the count API does not score documents, which is why it is faster, leading to a setting such as min_score to be obsolete.
-- Ivan On Mon, Nov 10, 2014 at 10:55 AM, Roly Vicaria <roly...@gmail.com> wrote: > Also, I'm trying this on v1.3.2 > > > On Monday, November 10, 2014 10:54:33 AM UTC-5, Roly Vicaria wrote: >> >> Hello, >> >> I'm trying to pass a min_score parameter using the _count api, but it >> doesn't seem to work. When I add it via query string, it just gets ignored >> and returns the full count. When I add it to the query using "min_score" : >> 1, then I get the following exception response: >> >> {"count":0,"_shards":{"total":5,"successful":0,"failed":5," >> failures":[{"index":"recruitment","shard":1,"reason":" >> BroadcastShardOperationFailedException[[recruitment][1] ]; nested: >> QueryParsingException[[recruitment] request does not support >> [min_score]]; "},{"index":"recruitment","shard":0,"reason":" >> BroadcastShardOperationFailedException[[recruitment][0] ]; nested: >> QueryParsingException[[recruitment] request does not support >> [min_score]]; "},{"index":"recruitment","shard":3,"reason":" >> BroadcastShardOperationFailedException[[recruitment][3] ]; nested: >> QueryParsingException[[recruitment] request does not support >> [min_score]]; "},{"index":"recruitment","shard":2,"reason":" >> BroadcastShardOperationFailedException[[recruitment][2] ]; nested: >> QueryParsingException[[recruitment] request does not support >> [min_score]]; "},{"index":"recruitment","shard":4,"reason":" >> BroadcastShardOperationFailedException[[recruitment][4] ]; nested: >> QueryParsingException[[recruitment] request does not support >> [min_score]]; "}]}} >> >> Has anyone else run into this? >> >> Thanks, >> Roly >> > -- > 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+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/b8d2dbfe-6b07-404e-887a-11ef3b46426a%40googlegroups.com > <https://groups.google.com/d/msgid/elasticsearch/b8d2dbfe-6b07-404e-887a-11ef3b46426a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQBd3TuBk0CwkBT%2Bq5KzSqEpHTJwe5GU1F8iaMGU5iFJLw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.