Remove per-document multiply in FilteredQuery
---------------------------------------------

                 Key: LUCENE-3494
                 URL: https://issues.apache.org/jira/browse/LUCENE-3494
             Project: Lucene - Java
          Issue Type: Improvement
            Reporter: Robert Muir
             Fix For: 3.5, 4.0
         Attachments: LUCENE-3494.patch

Spinoff of LUCENE-1536.

In LUCENE-1536, Uwe suggested using FilteredQuery under-the-hood to implement 
filtered search.

But this query is inefficient, it does a per-document multiplication 
(wrapped.score() * boost()).

Instead, it should just pass the boost down in its weight, like BooleanQuery 
does to avoid this per-document multiply.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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]

Reply via email to