[
https://issues.apache.org/jira/browse/LUCENE-7588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15804734#comment-15804734
]
Michael McCandless commented on LUCENE-7588:
--------------------------------------------
Hmm the ES jenkins caught this failure:
{noformat}
NOTE: reproduce with: ant test -Dtestcase=TestParallelDrillSideways
-Dtests.method=testRandom -Dtests.seed=734B3451E1B6F47B -Dtests.slow=true
-Dtests.locale=ar-BH -Dtests.timezone=America/North_Dakota/Center
-Dtests.asserts=true -Dtests.file.encoding=US-ASCII
[junit4] FAILURE 1.87s J2 | TestParallelDrillSideways.testRandom <<<
[junit4] > Throwable #1: org.junit.ComparisonFailure: expected:<1[00]4>
but was:<1[]4>
[junit4] > at
__randomizedtesting.SeedInfo.seed([734B3451E1B6F47B:107115E50D64208]:0)
[junit4] > at
org.apache.lucene.facet.TestDrillSideways.verifyEquals(TestDrillSideways.java:1034)
[junit4] > at
org.apache.lucene.facet.TestDrillSideways.testRandom(TestDrillSideways.java:818)
[junit4] > at java.lang.Thread.run(Thread.java:745)
{noformat}
And it does repro for me on the current (rev
7ae9ca85d9d920db353d3d080b0cb36567e206b2) branch_6x head. [~ekeller] any ideas?
> A parallel DrillSideways implementation
> ---------------------------------------
>
> Key: LUCENE-7588
> URL: https://issues.apache.org/jira/browse/LUCENE-7588
> Project: Lucene - Core
> Issue Type: Improvement
> Affects Versions: master (7.0), 6.3.1
> Reporter: Emmanuel Keller
> Priority: Minor
> Labels: facet, faceting
> Fix For: master (7.0), 6.4
>
> Attachments: LUCENE-7588.patch
>
>
> Currently DrillSideways implementation is based on the single threaded
> IndexSearcher.search(Query query, Collector results).
> On large document set, the single threaded collection can be really slow.
> The ParallelDrillSideways implementation could:
> 1. Use the CollectionManager based method IndexSearcher.search(Query query,
> CollectorManager collectorManager) to get the benefits of multithreading on
> index segments,
> 2. Compute each DrillSideway subquery on a single thread.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]