min_score doesn't seem to be working with _count api
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/061adad5-3ba9-457f-9b59-dc822b5f123d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: min_score doesn't seem to be working with _count api
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. For more options, visit https://groups.google.com/d/optout.