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

Buffered / Streaming SolrServer implementaion

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.4
    • clients - java
    • None

    Description

      While indexing lots of documents, the CommonsHttpSolrServer add( SolrInputDocument ) is less then optimal. This makes a new request for each document.

      With a "StreamingHttpSolrServer", documents are buffered and then written to a single open Http connection.

      For related discussion see:
      http://www.nabble.com/solr-performance-tt9055437.html#a20833680

      Attachments

        1. StreamingHttpSolrServer.java
          7 kB
          Ryan McKinley
        2. SOLR-906-StreamingHttpSolrServer.patch
          12 kB
          Ryan McKinley
        3. SOLR-906-StreamingHttpSolrServer.patch
          12 kB
          Ryan McKinley
        4. SOLR-906-StreamingHttpSolrServer.patch
          12 kB
          Ryan McKinley
        5. SOLR-906-StreamingHttpSolrServer.patch
          13 kB
          Ryan McKinley

        Activity

          People

            ryantxu Ryan McKinley
            ryantxu Ryan McKinley
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: