Solr
  1. Solr
  2. SOLR-1038

Enhance CommonsHttpSolrServer to add docs in batch

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Component/s: clients - java
    • Labels:
      None

      Description

      add two methods to ComonsHttpSolrServer to facilitate batch upload of docs

      public void addAndCommit(Iterator<SolrInputDocument> docIter , SolrParams commitParams)  
      throws SolrServerException, IOException 
      

      This helps users to upload all docs in a single http request

      1. SOLR-1038.patch
        3 kB
        Noble Paul
      2. SOLR-1038.patch
        2 kB
        Noble Paul
      3. SOLR-1038.patch
        13 kB
        Noble Paul
      4. SOLR-1038.patch
        7 kB
        Noble Paul

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Shalin Shekhar Mangar
            Reporter:
            Noble Paul
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development