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

Robert Muir updated LUCENE-6310:
--------------------------------
    Attachment: LUCENE-6310.patch

simple patch.

* FilteredQuery.LeapFrog uses ConjunctionDISI and works with approximations.
* FilteredQuery.QueryFirst returns the query as the approximation.
* CustomScoreQuery and a few other oddball scorers pass thru approximation 
support where they did not before.

I think this is ok default behavior, given how FilterScorer is typically used. 


> FilterScorer should delegate asTwoPhaseIterator
> -----------------------------------------------
>
>                 Key: LUCENE-6310
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6310
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Robert Muir
>         Attachments: LUCENE-6310.patch
>
>
> FilterScorer is like FilterInputStream for a scorer. But today it doesn't 
> delegate approximations, I think it should. Most things using this api are 
> just modifying the score and so on.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to