You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Paul Elschot (JIRA)" <ji...@apache.org> on 2009/10/02 21:28:23 UTC

[jira] Commented: (LUCENE-1940) Refactor ScorerDocQueue that it subclasses PriorityQueue

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

Paul Elschot commented on LUCENE-1940:
--------------------------------------

Uwe, thanks for opening this issue.

I'll collect the performance testing code from the earlier issue LUCENE-365 and give the refactoring to subclass PriorityQueue<HeapedScorerDoc> a try.

That could take some time, but then I have not seen 3.1 mentioned yet...

> Refactor ScorerDocQueue that it subclasses PriorityQueue<HeapedScorerDoc>
> -------------------------------------------------------------------------
>
>                 Key: LUCENE-1940
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1940
>             Project: Lucene - Java
>          Issue Type: Task
>          Components: Other
>    Affects Versions: 3.0
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>            Priority: Minor
>
> This is a followup of LUCENE-1935: ScorerDocQueue currently duplicates lots of code from PQ. Using the new generics in PQ since 1935, it is possible to subclass it from generic typed PriorityQueue<HeapedScorerDoc>. This class only needs to add some of the special methods, and should have the same API as before, as it is public.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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