[
https://issues.apache.org/jira/browse/LUCENE-1483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12658736#action_12658736
]
Mark Miller commented on LUCENE-1483:
-------------------------------------
Hmm...I'm going to have to break down and think hard about the slot issue. You
have switched it to values.length - here is what I'm thinking: In the case
where 3 hits come from a Reader, but you ask for 1000 back, that will run
through that loop 1000 times, but you only need to convert 3 right? This is
what I was attempting - what test are you running to see the failure? The idea
for me was that if you only have 20 hits so far on a top 1000 search, you only
need to hit that loop to convert 20 values to the new Reader, rather 1000
everytime (though you spin fast hitting the ==null). I'm not sure - xmas
shopping has burned my whats left of my brain cells. I'll let it stew, perhaps
run some code, and come back.
> 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, LUCENE-1483.patch,
> LUCENE-1483.patch, LUCENE-1483.patch, LUCENE-1483.patch, LUCENE-1483.patch,
> LUCENE-1483.patch, LUCENE-1483.patch, LUCENE-1483.patch, sortBench.py,
> sortCollate.py
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]