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 "Ryan McKinley (JIRA)" <ji...@apache.org> on 2007/07/03 11:06:04 UTC

[jira] Created: (SOLR-287) set commitMaxTime when adding a single document

set commitMaxTime when adding a single document
-----------------------------------------------

                 Key: SOLR-287
                 URL: https://issues.apache.org/jira/browse/SOLR-287
             Project: Solr
          Issue Type: Improvement
            Reporter: Ryan McKinley
            Priority: Minor


Rather then setting a global autoCommit maxTime, it would be nice to set a maximum time for a single add command.  This patch adds:

<add commitMaxTime="1000">
  ...
</add>

to add the document within 1 sec.

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


[jira] Updated: (SOLR-287) set commitMaxTime when adding a document

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

Ryan McKinley updated SOLR-287:
-------------------------------

    Summary: set commitMaxTime when adding a document  (was: set commitMaxTime when adding a single document)

sorry, bad title.  This adds a maxCommitTime to the AddUpdateCommand - that only takes one document at at time, but the command is shared between everything updated together.

As implemented, If you post 1000 docs in a single request with an maxCommitTime=500.  It will fire a commit 500ms after the first document is added - even if there are still more coming.

> set commitMaxTime when adding a document
> ----------------------------------------
>
>                 Key: SOLR-287
>                 URL: https://issues.apache.org/jira/browse/SOLR-287
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Ryan McKinley
>            Priority: Minor
>         Attachments: SOLR-287-AddCommitMaxTime.patch
>
>
> Rather then setting a global autoCommit maxTime, it would be nice to set a maximum time for a single add command.  This patch adds:
> <add commitMaxTime="1000">
>   ...
> </add>
> to add the document within 1 sec.

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


[jira] Resolved: (SOLR-287) set commitMaxTime when adding a document

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

Ryan McKinley resolved SOLR-287.
--------------------------------

       Resolution: Duplicate
    Fix Version/s: 1.4

identical to SOLR-793

> set commitMaxTime when adding a document
> ----------------------------------------
>
>                 Key: SOLR-287
>                 URL: https://issues.apache.org/jira/browse/SOLR-287
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Ryan McKinley
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: SOLR-287-AddCommitMaxTime.patch, SOLR-287-AddCommitMaxTime.patch
>
>
> Rather then setting a global autoCommit maxTime, it would be nice to set a maximum time for a single add command.  This patch adds:
> <add commitMaxTime="1000">
>   ...
> </add>
> to add the document within 1 sec.

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


[jira] Commented: (SOLR-287) set commitMaxTime when adding a single document

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

Yonik Seeley commented on SOLR-287:
-----------------------------------

why is this linked to a "single document"?  Or do you mean a single add command which may contain multiple documents?

> set commitMaxTime when adding a single document
> -----------------------------------------------
>
>                 Key: SOLR-287
>                 URL: https://issues.apache.org/jira/browse/SOLR-287
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Ryan McKinley
>            Priority: Minor
>         Attachments: SOLR-287-AddCommitMaxTime.patch
>
>
> Rather then setting a global autoCommit maxTime, it would be nice to set a maximum time for a single add command.  This patch adds:
> <add commitMaxTime="1000">
>   ...
> </add>
> to add the document within 1 sec.

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


[jira] Updated: (SOLR-287) set commitMaxTime when adding a document

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

Ryan McKinley updated SOLR-287:
-------------------------------

    Attachment: SOLR-287-AddCommitMaxTime.patch

No real changes - updated to work with trunk.

Without objection, I think this should be added soon...

> set commitMaxTime when adding a document
> ----------------------------------------
>
>                 Key: SOLR-287
>                 URL: https://issues.apache.org/jira/browse/SOLR-287
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Ryan McKinley
>            Priority: Minor
>         Attachments: SOLR-287-AddCommitMaxTime.patch, SOLR-287-AddCommitMaxTime.patch
>
>
> Rather then setting a global autoCommit maxTime, it would be nice to set a maximum time for a single add command.  This patch adds:
> <add commitMaxTime="1000">
>   ...
> </add>
> to add the document within 1 sec.

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


[jira] Updated: (SOLR-287) set commitMaxTime when adding a single document

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

Ryan McKinley updated SOLR-287:
-------------------------------

    Attachment: SOLR-287-AddCommitMaxTime.patch

this patch is extracted from SOLR-139

> set commitMaxTime when adding a single document
> -----------------------------------------------
>
>                 Key: SOLR-287
>                 URL: https://issues.apache.org/jira/browse/SOLR-287
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Ryan McKinley
>            Priority: Minor
>         Attachments: SOLR-287-AddCommitMaxTime.patch
>
>
> Rather then setting a global autoCommit maxTime, it would be nice to set a maximum time for a single add command.  This patch adds:
> <add commitMaxTime="1000">
>   ...
> </add>
> to add the document within 1 sec.

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