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

markrmil...@gmail.com edited comment on LUCENE-1483 at 12/12/08 6:03 PM:
---------------------------------------------------------------

Okay, but how am I going to squeeze between two customs? I guess you'd have to 
store as a compare against either side?

*EDIT*

There is also the problem that all compares are done based on ScoreDocs that 
index into a single ord array by doc. The previous pq's ScoreDocs will not 
compare right - they won't index into the ord array for the current Reader - 
they are indexes into the array for the previous Reader. This is what made me 
give up on single pq earlier.

*EDIT*

I guess we put them on the ScoreDoc like we do the values for multisearcher? 
Then we could use a PQ like FieldDocPQ that used ords rather than vals?

      was (Author: markrmil...@gmail.com):
    Okay, but how am I going to squeeze between two customs? I guess you'd have 
to store as a compare against either side?

*EDIT*

There is also the problem that all compares are done based on ScoreDocs that 
index into a single ord array by doc. The previous pq's ScoreDocs will not 
compare right - they won't index into the ord array for the current Reader - 
they are indexes into the array for the previous Reader. This is what made me 
give up on single pq earlier.
  
> Change IndexSearcher to use MultiSearcher semantics for multiple subreaders
> ---------------------------------------------------------------------------
>
>                 Key: LUCENE-1483
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1483
>             Project: Lucene - Java
>          Issue Type: Improvement
>    Affects Versions: 2.9
>            Reporter: Mark Miller
>            Priority: Minor
>         Attachments: LUCENE-1483.patch, LUCENE-1483.patch, LUCENE-1483.patch, 
> LUCENE-1483.patch, LUCENE-1483.patch, LUCENE-1483.patch, LUCENE-1483.patch, 
> LUCENE-1483.patch, LUCENE-1483.patch, LUCENE-1483.patch
>
>
> FieldCache and Filters are forced down to a single segment reader, allowing 
> for individual segment reloading on reopen.

-- 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to