You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2014/03/05 16:51:43 UTC

[jira] [Updated] (LUCENE-5429) Run one search across multiple scorers/collectors

     [ https://issues.apache.org/jira/browse/LUCENE-5429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless updated LUCENE-5429:
---------------------------------------

    Attachment: LUCENE-5429.patch

Here's a new patch, fixing DisjunctionSum/MaxScorer to not score during matching.

I sort of think this is something we should separately explore ... e.g. if you do a Filter with one of these queries, they are scoring unnecessarily.  Queries really shouldn't score during matching.

For this issue, the test now passes, so you can run matching once and scoring N times to N collectors, for disjunctions.

> Run one search across multiple scorers/collectors
> -------------------------------------------------
>
>                 Key: LUCENE-5429
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5429
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>         Attachments: LUCENE-5429.patch, LUCENE-5429.patch
>
>
> I'm looking into the possibility of running the same search across many scorers, so that decoding postings lists / doing union and intersect are done once, but scoring via Similarity can be done multiple times for each it (and the results collected into separate collectors).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org