lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noble Paul (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-1038) Enhance CommonsHttpSolrServer to add docs in batch
Date Thu, 19 Mar 2009 03:51:50 GMT

    [ https://issues.apache.org/jira/browse/SOLR-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12683299#action_12683299
] 

Noble Paul commented on SOLR-1038:
----------------------------------

earlier, all the SolrInputDocument we converted in advance to the collection objects . It
is not possible now because we support an iterator. So the conversion is done just in time

> Enhance CommonsHttpSolrServer to add docs in batch
> --------------------------------------------------
>
>                 Key: SOLR-1038
>                 URL: https://issues.apache.org/jira/browse/SOLR-1038
>             Project: Solr
>          Issue Type: Improvement
>          Components: clients - java
>            Reporter: Noble Paul
>            Assignee: Shalin Shekhar Mangar
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: SOLR-1038.patch, SOLR-1038.patch
>
>
> add two methods to ComonsHttpSolrServer to facilitate batch upload of docs
> {code:java}
> public void addAndCommit(Iterator<SolrInputDocument> docIter , SolrParams commitParams)
 
> throws SolrServerException, IOException 
> {code}
> This helps users to upload all docs in a single http request

-- 
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