You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Grant Ingersoll (JIRA)" <ji...@apache.org> on 2008/06/20 18:17:45 UTC

[jira] Created: (SOLR-603) Support Partial Optimizes

Support Partial Optimizes
-------------------------

                 Key: SOLR-603
                 URL: https://issues.apache.org/jira/browse/SOLR-603
             Project: Solr
          Issue Type: New Feature
            Reporter: Grant Ingersoll
            Assignee: Grant Ingersoll
            Priority: Minor


It would be useful if Solr supported Lucene's capability to do partial optimizes.  The associated method on the IndexWriter is [http://lucene.apache.org/java/2_3_2/api/core/org/apache/lucene/index/IndexWriter.html#optimize(int,%20boolean)] and the variations there-in.

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


[jira] Commented: (SOLR-603) Support Partial Optimizes

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12606888#action_12606888 ] 

Yonik Seeley commented on SOLR-603:
-----------------------------------

nit: maxOptimizeSegments seems a bit wordy... how about numSegments or maxSegments?


> Support Partial Optimizes
> -------------------------
>
>                 Key: SOLR-603
>                 URL: https://issues.apache.org/jira/browse/SOLR-603
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>         Attachments: SOLR-603.patch
>
>
> It would be useful if Solr supported Lucene's capability to do partial optimizes.  The associated method on the IndexWriter is [http://lucene.apache.org/java/2_3_2/api/core/org/apache/lucene/index/IndexWriter.html#optimize(int,%20boolean)] and the variations there-in.

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


[jira] Updated: (SOLR-603) Support Partial Optimizes

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

Grant Ingersoll updated SOLR-603:
---------------------------------

    Attachment: SOLR-603.patch

Adds capability to do <optimize maxOptimizeSegments="5"/> which means that one can specify the maximum number of segments to leave when doing optimize.  This is useful for controlling how long optimizes take.  Adds test in DirectUpdateHandlerOptimizeTest.

Also deprecates the DirectUpdateHandler.

> Support Partial Optimizes
> -------------------------
>
>                 Key: SOLR-603
>                 URL: https://issues.apache.org/jira/browse/SOLR-603
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>         Attachments: SOLR-603.patch
>
>
> It would be useful if Solr supported Lucene's capability to do partial optimizes.  The associated method on the IndexWriter is [http://lucene.apache.org/java/2_3_2/api/core/org/apache/lucene/index/IndexWriter.html#optimize(int,%20boolean)] and the variations there-in.

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


[jira] Work started: (SOLR-603) Support Partial Optimizes

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

Work on SOLR-603 started by Grant Ingersoll.

> Support Partial Optimizes
> -------------------------
>
>                 Key: SOLR-603
>                 URL: https://issues.apache.org/jira/browse/SOLR-603
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>         Attachments: SOLR-603.patch, SOLR-603.patch
>
>
> It would be useful if Solr supported Lucene's capability to do partial optimizes.  The associated method on the IndexWriter is [http://lucene.apache.org/java/2_3_2/api/core/org/apache/lucene/index/IndexWriter.html#optimize(int,%20boolean)] and the variations there-in.

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


[jira] Updated: (SOLR-603) Support Partial Optimizes

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

Grant Ingersoll updated SOLR-603:
---------------------------------

    Attachment: SOLR-603.patch

Adds SolrJ support.  Make the parameter a bit smaller (maxSegments instead of maxOptimizeSegments)

Will commit in a day or two

> Support Partial Optimizes
> -------------------------
>
>                 Key: SOLR-603
>                 URL: https://issues.apache.org/jira/browse/SOLR-603
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>         Attachments: SOLR-603.patch, SOLR-603.patch
>
>
> It would be useful if Solr supported Lucene's capability to do partial optimizes.  The associated method on the IndexWriter is [http://lucene.apache.org/java/2_3_2/api/core/org/apache/lucene/index/IndexWriter.html#optimize(int,%20boolean)] and the variations there-in.

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


[jira] Resolved: (SOLR-603) Support Partial Optimizes

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

Grant Ingersoll resolved SOLR-603.
----------------------------------

    Resolution: Fixed

Committed revision 672031.

> Support Partial Optimizes
> -------------------------
>
>                 Key: SOLR-603
>                 URL: https://issues.apache.org/jira/browse/SOLR-603
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>         Attachments: SOLR-603.patch, SOLR-603.patch
>
>
> It would be useful if Solr supported Lucene's capability to do partial optimizes.  The associated method on the IndexWriter is [http://lucene.apache.org/java/2_3_2/api/core/org/apache/lucene/index/IndexWriter.html#optimize(int,%20boolean)] and the variations there-in.

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