[ 
https://issues.apache.org/jira/browse/LUCENE-6373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14490918#comment-14490918
 ] 

Paul Elschot commented on LUCENE-6373:
--------------------------------------

The SpanOr patch of 11 April 2015:

Introduces DisiPriorityQueue<Iter extends DocIdSetIterator>, which was started 
from ScorerPriorityQueue.
The DisiPriorityQueue is used to reimplement the doc id iteration of SpanOr, 
which now works much like DisjunctionScorer.
The position iteration for SpanOr is done by a new SpanPositionQueue, which 
extends PriorityQueue.
Tests pass with this patch, and I would expect this to improve the speed of 
SpanOr.

Still to be done for SpanOr:

Use DisiPriorityQueue<Scorer> instead of ScorerPriorityQueue.
Add two phase doc id iteration in SpanOr similar to DisjunctionScorer.
Specialize SpanPositionQueue similar to DisiPriorityQueue, inline the position 
comparison function.



> Complete two phase doc id iteration support for Spans
> -----------------------------------------------------
>
>                 Key: LUCENE-6373
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6373
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Paul Elschot
>         Attachments: LUCENE-6373-SpanOr.patch
>
>
> Spin off from LUCENE-6308, see comments there from about 23 March 2015.



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

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

Reply via email to