esd/count doesn't take mapping into consideration #6

Closed
ponzao opened this Issue Oct 19, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@ponzao

ponzao commented Oct 19, 2012

Seems mapping does not filter results when using esd/count:

search> (count (:hits (:hits (esd/search index :places :query (q/match-all) :size 1000000))))
1311
search>  (esrsp/count-from (esd/count index :places (q/match-all)))
3420

curl -XGET http://localhost:9200/index/:places/_count
{"count":1311,"_shards":{"total":5,"successful":5,"failed":0}}
@michaelklishin

This comment has been minimized.

Show comment
Hide comment
@michaelklishin

michaelklishin Oct 21, 2012

Member

Fixed in 1.0.2

Member

michaelklishin commented Oct 21, 2012

Fixed in 1.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment