-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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 "size": 0 for Term Facet #1776
Comments
Yes, its definitely possible. I plan to do some refactoring in this area, once its done, we can then add this. |
Great, keep up the good work :) |
Excellent. Just wanted to give a big thumb up (two, even!) to this idea. also, when implemented this might also close #1530 |
+1 vote for this feature! |
+1 |
+1 vote for this feature |
Loving elasticsearch... I would really benefit from this feature. Any update on the status of this issue? |
Haven't had a chance to look at the issue, but past experience with earlier lucene and ESP, would suggest you are asking for a 0 to represent a null entry? Is that really what is meant? On Sep 5, 2012, at 2:06 PM, Michael Irey wrote:
|
Really just looking for a way to ask for all facets to be returned... Perhaps omitting the the |
+1 |
Why is this issue open and documentation says: "The size parameter controls how many facet entries will be returned. It defaults to 10. Setting it to 0 will return all terms matching the hits"? |
@jperelli the docs you're looking at are for the terms stats facet, not the terms facet: in the terms facet setting |
You are right, in a closer look, I confused this issue with that part of the docs. Sorry! |
+1 |
1 similar comment
+1 |
Fellows, just an update, its high on our prio list!, we are going to go through the mentioned refactoring and implement it. Its simpler now with Lucene 4 upgrade effectively done. |
👍 |
1 similar comment
+1 |
+! |
+1 |
Isn't this already implemented with the "all_terms" option? |
@pjrt: Nope. The "all_terms" option says "also include in the list terms that appear somewhere in the index for this field but that have no hits in this query" (i.e., entries with a count of zero). But the "size" parameter says "how many items from the top of the list should I actually return?" On 15 mrt. 2013, at 18:16, Pedro Rodriguez notifications@github.com wrote:
|
+1 👍 |
+1 |
1 similar comment
+1 |
Since there is a "size" field, is it possible to also have a "from" field to paginate through facets? |
+1 |
2 similar comments
+1 |
+1 |
Any updates? @kimchy said about priority list 11 months ago :) I noticed weird thing today: I guess this is not going to happen, aggregations are coming. |
+1 to this. I don't think all_terms works as advertised at http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-facets-terms-facet.html |
This feature has been implemented on aggregations (#4837). I am closing this issue as we are not going to modify facets anymore in order to focus on aggregations. |
Is it possible to add support for setting "size": 0 to simple Term Facets in order to return all terms matching the hits?
This should be similar to the TermsStats Facet api.
The text was updated successfully, but these errors were encountered: