[
https://issues.apache.org/jira/browse/LUCENE-5425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13890581#comment-13890581
]
Michael McCandless commented on LUCENE-5425:
--------------------------------------------
Hi Lei,
That's great that you managed to get luceneutil up and running ... it's not
easy.
Are you passing a randomSeed=N to your Competition? When you do that, it means
the exact same queries are tested each time you run the perf test; if not, it
randomly picks a query from the category, and e.g. a category like HighTerm
actually has a wide range of queries in it ... so maybe this explains the
absolute QPS diffs you see between runs?
Separately, it's good to open the results files (e.g.
/path/to/lucene/benchmark/comp.base.N) to confirm you actually see Date facet
counts inside there.
I'll also test the 2nd to last patch w/ Date faceting.
> Make creation of FixedBitSet in FacetsCollector overridable
> -----------------------------------------------------------
>
> Key: LUCENE-5425
> URL: https://issues.apache.org/jira/browse/LUCENE-5425
> Project: Lucene - Core
> Issue Type: Improvement
> Components: modules/facet
> Affects Versions: 4.6
> Reporter: John Wang
> Attachments: facetscollector.patch, facetscollector.patch,
> fixbitset.patch
>
>
> In FacetsCollector, creation of bits in MatchingDocs are allocated per query.
> For large indexes where maxDocs are large creating a bitset of maxDoc bits
> will be expensive and would great a lot of garbage.
> Attached patch is to allow for this allocation customizable while maintaining
> current behavior.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]