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

Support for ElasticSearch Count API #425

Closed
N3m1s opened this issue Sep 22, 2015 · 3 comments · Fixed by #446
Closed

Support for ElasticSearch Count API #425

N3m1s opened this issue Sep 22, 2015 · 3 comments · Fixed by #446
Assignees
Milestone

Comments

@N3m1s
Copy link

N3m1s commented Sep 22, 2015

I see that your bundle does not support ES count API.

@saimaz saimaz added this to the 1.0.0 milestone Sep 23, 2015
@saimaz saimaz self-assigned this Sep 23, 2015
@saimaz saimaz added the planned label Sep 23, 2015
@tautrimas
Copy link
Contributor

@N3m1s, maybe it can be simulated like this?

$search->setSearchType('count');
$results = $repository->execute($search, Repository::RESULTS_RAW);

@saimaz saimaz removed their assignment Sep 24, 2015
@N3m1s
Copy link
Author

N3m1s commented Sep 24, 2015

@tautrimas, thanks. But since official elastic search library does have a call to count API, I think it would be a more clearer approach to add this to your Repository class.

@tautrimas
Copy link
Contributor

Yes yes, this is a workaround (:

@saimaz saimaz self-assigned this Oct 27, 2015
@saimaz saimaz added qa and removed planned labels Oct 27, 2015
@saimaz saimaz removed the qa label Oct 27, 2015
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

Successfully merging a pull request may close this issue.

3 participants