lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amrit Sarkar (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-11836) Use -1 in bucketSizeLimit to get all facets, analogous to the JSON facet API
Date Wed, 10 Jan 2018 11:16:00 GMT

     [ https://issues.apache.org/jira/browse/SOLR-11836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Amrit Sarkar updated SOLR-11836:
--------------------------------
    Attachment: SOLR-11836.patch

[~amunoz],

Correct, the behavior should be analogous. I have attached a small patch which do the same.
Test and documentation updated. [~joel.bernstein] requesting your feedback and thoughts.

> Use -1 in bucketSizeLimit to get all facets, analogous to the JSON facet API
> ----------------------------------------------------------------------------
>
>                 Key: SOLR-11836
>                 URL: https://issues.apache.org/jira/browse/SOLR-11836
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: streaming expressions
>    Affects Versions: 7.2
>            Reporter: Alfonso Muñoz-Pomer Fuentes
>              Labels: facet, streaming
>         Attachments: SOLR-11836.patch
>
>
> Currently, to retrieve all buckets using the streaming expressions facet function, the
{{bucketSizeLimit}} parameter must have a high enough value so that all results will be included.
Compare this with the JSON facet API, where you can use {{"limit": -1}} to achieve this. It
would help if such a possibility existed.
> [Issue 11236|https://issues.apache.org/jira/browse/SOLR-11236] is related.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message