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

Enhance CommonsHttpSolrServer to add docs in batch

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.4
    • clients - java
    • 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
          7 kB
          Noble Paul
        2. SOLR-1038.patch
          13 kB
          Noble Paul
        3. SOLR-1038.patch
          2 kB
          Noble Paul
        4. SOLR-1038.patch
          3 kB
          Noble Paul

        Activity

          People

            shalin Shalin Shekhar Mangar
            noble.paul Noble Paul
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: