You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2011/01/14 18:33:45 UTC

[jira] Created: (LUCENE-2870) if a segment is 100% deletions, we should just drop it

if a segment is 100% deletions, we should just drop it
------------------------------------------------------

                 Key: LUCENE-2870
                 URL: https://issues.apache.org/jira/browse/LUCENE-2870
             Project: Lucene - Java
          Issue Type: Improvement
          Components: Index
            Reporter: Michael McCandless
             Fix For: 3.1, 4.0


I think in IndexWriter if the delCount ever == maxDoc() for a segment we should just drop it?

We don't, today, and so we force it to be merged, which is silly.

I won't have time for this any time soon so if someone wants to take it, please do!!  Should be simple.

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


[jira] Closed: (LUCENE-2870) if a segment is 100% deletions, we should just drop it

Posted by "Uwe Schindler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-2870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Uwe Schindler closed LUCENE-2870.
---------------------------------

    Resolution: Duplicate

Duplicate of LUCENE-2010.

> if a segment is 100% deletions, we should just drop it
> ------------------------------------------------------
>
>                 Key: LUCENE-2870
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2870
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Index
>            Reporter: Michael McCandless
>             Fix For: 3.1, 4.0
>
>
> I think in IndexWriter if the delCount ever == maxDoc() for a segment we should just drop it?
> We don't, today, and so we force it to be merged, which is silly.
> I won't have time for this any time soon so if someone wants to take it, please do!!  Should be simple.

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