[ https://issues.apache.org/jira/browse/SOLR-4411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Neelesh Shastry updated SOLR-4411: ---------------------------------- Description: The parameter facet.mincount provides a good way of filtering counts less than a given number in a faceted query. facet.maxcount would be the upper bound counterpart for this. Currently I'm doing this inside FacetComponent,by filtering the facet counts explicitly, but this is expensive. I would like to know the challenges in implementing this feature both in sharded/non-sharded environments. Willing to implement the feature with tests. On first pass, it looks like I need to change the facet count algos for termenum, fieldcache, uninverted as well as DistribFieldFacet. was:The parameter facet.mincount provides a good way of filtering counts less than a given number in a faceted query. facet.maxcount would be the upper bound counterpart for this. Currently I'm doing this inside FacetComponent,by filtering the facet counts explicitly, but this is expensive. I would like to know the challenges in implementing this feature both in sharded/non-sharded environments. Willing to implement the feature with tests. > Provide a facet.maxcount parameter that excludes the counts that are higher > than this value in a faceted query > -------------------------------------------------------------------------------------------------------------- > > Key: SOLR-4411 > URL: https://issues.apache.org/jira/browse/SOLR-4411 > Project: Solr > Issue Type: New Feature > Components: search > Affects Versions: 4.1 > Reporter: Neelesh Shastry > Priority: Minor > > The parameter facet.mincount provides a good way of filtering counts less > than a given number in a faceted query. facet.maxcount would be the upper > bound counterpart for this. Currently I'm doing this inside FacetComponent,by > filtering the facet counts explicitly, but this is expensive. I would like to > know the challenges in implementing this feature both in sharded/non-sharded > environments. Willing to implement the feature with tests. > On first pass, it looks like I need to change the facet count algos for > termenum, fieldcache, uninverted as well as DistribFieldFacet. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org