Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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

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

ponzao opened this issue Oct 19, 2012 · 1 comment

Comments

@ponzao
Copy link

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
Copy link
Member

Fixed in 1.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants