Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-1038

Enhance CommonsHttpSolrServer to add docs in batch

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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

        Attachments

        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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: