[ https://issues.apache.org/jira/browse/LUCENE-4234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gilad Barkai updated LUCENE-4234: --------------------------------- Attachment: LUCENE-4234-fix.patch Proposed fix, the code was optimized for a capacity of 1000 documents, but BitSet was initizlized with the same value of 1000, causing .fastSet() to fail. Initializing the scores array to size of 64, and initializing the bitset to .maxDoc() as in the non-score-keeping version. > Exception when FacetsCollector is used with ScoreFacetRequest > ------------------------------------------------------------- > > Key: LUCENE-4234 > URL: https://issues.apache.org/jira/browse/LUCENE-4234 > Project: Lucene - Java > Issue Type: Bug > Components: modules/facet > Affects Versions: 3.6, 4.0-ALPHA > Reporter: Gilad Barkai > Fix For: 3.6.1, 4.0 > > Attachments: LUCENE-4234-fix.patch, LUCENE-4234-test.patch > > > Aggregating facets with Lucene's Score using FacetsCollector results in an > Exception (assertion when enabled). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa 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