You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2009/01/02 15:25:44 UTC

[jira] Issue Comment Edited: (LUCENE-1483) Change IndexSearcher multisegment searches to search each individual segment using a single HitCollector

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

markrmiller@gmail.com edited comment on LUCENE-1483 at 1/2/09 6:24 AM:
-------------------------------------------------------------

So what looks like a promising strategy?

Off the top I am thinking something as simple as:

start with ORD with no fallback on the largest.
if the next segments are fairly large, use ORD_VAL
if the segments get somewhat smaller, move to ORD_DEM

Oddly, I've seen VAL perform well in certain situations, so maybe it has its place, but I don't know where yet.

*edit*

Oh, yeah, queue size should also play a roll in the switching 

      was (Author: markrmiller@gmail.com):
    So what looks like a promising strategy?

Off the top I am thinking something as simple as:

start with ORD with no fallback on the largest.
if the next segments are fairly large, use ORD_VAL
if the segments get somewhat smaller, move to ORD_DEM

Oddly, I've seen VAL perform well in certain situations, so maybe it has its place, but I don't know where yet.
  
> Change IndexSearcher multisegment searches to search each individual segment using a single HitCollector
> --------------------------------------------------------------------------------------------------------
>
>                 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, 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org