[
https://issues.apache.org/jira/browse/LUCENE-4598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13527515#comment-13527515
]
Michael McCandless commented on LUCENE-4598:
--------------------------------------------
+1 to pass liveDocs=null.
I'm seeing some test failures
(org.apache.lucene.facet.enhancements.EnhancementsPayloadIteratorTest) with
this patch ...
I ran quick perf test on 10M doc index, with 5% deleted docs:
{noformat}
Task QPS base StdDev QPS comp StdDev
Pct diff
LowTerm 28.51 (1.3%) 29.07 (0.8%)
2.0% ( 0% - 4%)
HighTerm 2.46 (0.8%) 2.52 (0.6%)
2.6% ( 1% - 3%)
MedTerm 13.17 (1.2%) 13.62 (0.8%)
3.5% ( 1% - 5%)
{noformat}
Nice little performance improvement ...
> Facet aggregation should work per segment
> -----------------------------------------
>
> Key: LUCENE-4598
> URL: https://issues.apache.org/jira/browse/LUCENE-4598
> Project: Lucene - Core
> Issue Type: Improvement
> Components: modules/facet
> Reporter: Michael McCandless
> Attachments: LUCENE-4598.patch
>
>
> Currently the facet module uses MultiFields.* to pull the D&PEnum in
> PayloadIterator, to access the payloads that store the facet ords.
> It then makes heavy use of .advance and .getPayload to visit all docIDs in
> the result set.
> I think we should get some speedup if we go segment by segment instead ...
--
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: [email protected]
For additional commands, e-mail: [email protected]