lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McKinley (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-126) Auto-commit documents after time interval
Date Tue, 30 Jan 2007 04:16:33 GMT

    [ https://issues.apache.org/jira/browse/SOLR-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468493
] 

Ryan McKinley commented on SOLR-126:
------------------------------------

> 
> A few high-level comments:
>  - commitTer/commitTing.  It seems pedantic to gripe about spelling,...

yes, thanks.  I'm notoriously bad anywhere spellcheck can't help (and often where it does!)
 Please fix or point out anything, it does make it much easier to find in the future.

>  - "autoCommitAfter" doesn't particularly document the semantics,...

perhaps:

 <autoCommit>
   <maxDocs>10000</maxDocs>
   <maxTime>10000</maxTime> 
  <!--
   In the future we may add:
   <minTime>10000</minTime> 
   <idleTime>10000</idleTime> 
  -->
 </autoCommit>


> > Unless there is any reason why this should be limited to a custom handler?
> 

Yes, it should probably go in the UpdateHandler





> Auto-commit documents after time interval
> -----------------------------------------
>
>                 Key: SOLR-126
>                 URL: https://issues.apache.org/jira/browse/SOLR-126
>             Project: Solr
>          Issue Type: Improvement
>          Components: update
>            Reporter: Ryan McKinley
>            Priority: Minor
>         Attachments: AutocommitingUpdateRequestHandler.patch
>
>
> If an index is getting updated from multiple sources and needs to add documents reasonably
quickly, there should be a good solr side mechanism to help prevent the client from spawning
multiple overlapping <commit/> commands.
> My specific use case is sending each document to solr every time hibernate saves an object
(see SOLR-20).  This happens from multiple machines simultaneously.  I'd like solr to make
sure the documents are committed within a second.

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


Mime
View raw message