lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <>
Subject [jira] [Commented] (LUCENE-4234) Exception when FacetsCollector is used with ScoreFacetRequest
Date Sun, 22 Jul 2012 08:19:34 GMT


Shai Erera commented on LUCENE-4234:

Good catch !

I have few comments about the patch:

# Can you merge them into one file?
# Can we use FixedBitSet? It's an improvement over OpenBitSet, without needing to use fastXYZ
# I think that we can initialize the scores array to maxDoc, and drop the resizing in collect
-- collect is a hot method, we should do minimal work there. If someone want to keep scores
for maxDoc documents, we should initialize the array up front.
> Exception when FacetsCollector is used with ScoreFacetRequest
> -------------------------------------------------------------
>                 Key: LUCENE-4234
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: modules/facet
>    Affects Versions: 3.6, 4.0-ALPHA
>            Reporter: Gilad Barkai
>            Assignee: Shai Erera
>             Fix For: 4.0, 5.0, 3.6.2
>         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:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message