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 "Noble Paul (JIRA)" <ji...@apache.org> on 2009/02/25 17:41:01 UTC
[jira] Updated: (SOLR-1038) Enhance CommonsHttpSolrServer to add
docs in batch
[ https://issues.apache.org/jira/browse/SOLR-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Noble Paul updated SOLR-1038:
-----------------------------
Component/s: (was: clients - C#)
clients - java
Fix Version/s: 1.5
> 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
> Priority: Minor
> Fix For: 1.5
>
>
> add two methods to ComonsHttpSolrServer to facilitate batch upload of docs
> {code:java}
> public void addAndCommit(Iterator<SolrInputDocument> docIter , boolean async, Properties commitParams)
> throws SolrServerException, IOException
> public void addAndCommit(Iterator<Object> beanIter , boolean async , Properties 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.