[ 
http://issues.apache.org/jira/browse/LUCENE-330?page=comments#action_12368947 ] 

Yonik Seeley commented on LUCENE-330:
-------------------------------------

> The patch I referenced should work.

To be more explicit, that patch should work with both BooleanScorer and 
BooleanScorer2 because it doesn't use skipTo() in next().
If the optimization was made to use skipTo() in next(), then only 
BooleanScorer2 would work.

> [PATCH] Use filter bits for next() and skipTo() in FilteredQuery
> ----------------------------------------------------------------
>
>          Key: LUCENE-330
>          URL: http://issues.apache.org/jira/browse/LUCENE-330
>      Project: Lucene - Java
>         Type: Improvement
>   Components: Search
>     Versions: CVS Nightly - Specify date in submission
>  Environment: Operating System: other
> Platform: Other
>     Reporter: paul.elschot
>     Assignee: Lucene Developers
>     Priority: Minor
>  Attachments: FilteredQuery.java, FilteredQuery.java, FilteredQuery.java, 
> FilteredQuery.java, FilteredQueryPatch1.txt, IndexSearcherPatch2.txt, 
> SkipFilter.java, SkipFilter.java
>
> This improves performance of FilteredQuery by not calling score() 
> on documents that do not pass the filter. 
> This passes the current tests for FilteredQuery, but these tests 
> have not been adapted/extended.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.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