[ https://issues.apache.org/jira/browse/LUCENE-2128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Israel Tsadok updated LUCENE-2128: ---------------------------------- Attachment: LUCENE-2128.patch I extracted step 3 of createWeights into its own method, and added an overriding method on ParallelMultiSearcher. This is untested code, sorry. > Further parallelizaton of ParallelMultiSearcher > ----------------------------------------------- > > Key: LUCENE-2128 > URL: https://issues.apache.org/jira/browse/LUCENE-2128 > Project: Lucene - Java > Issue Type: Improvement > Components: Search > Affects Versions: 3.0 > Reporter: Israel Tsadok > Priority: Minor > Attachments: LUCENE-2128.patch > > > When calling {{search(Query, Filter, int)}} on a ParallelMultiSearcher, the > {{createWeights}} function of MultiSearcher is called, and sequentially calls > {{docFreqs()}} on every sub-searcher. This can take a significant amount of > time when there are lots of remote sub-searchers. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org