Solr
  1. Solr
  2. SOLR-906

Buffered / Streaming SolrServer implementaion

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Component/s: clients - java
    • Labels:
      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

      1. SOLR-906-StreamingHttpSolrServer.patch
        13 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. StreamingHttpSolrServer.java
        7 kB
        Ryan McKinley

        Activity

        Ryan McKinley created issue -
        Ryan McKinley made changes -
        Field Original Value New Value
        Attachment StreamingHttpSolrServer.java [ 12395748 ]
        Ryan McKinley made changes -
        Attachment SOLR-906-StreamingHttpSolrServer.patch [ 12395760 ]
        Ryan McKinley made changes -
        Attachment SOLR-906-StreamingHttpSolrServer.patch [ 12395952 ]
        Shalin Shekhar Mangar made changes -
        Assignee Shalin Shekhar Mangar [ shalinmangar ]
        Ryan McKinley made changes -
        Attachment SOLR-906-StreamingHttpSolrServer.patch [ 12396409 ]
        Ryan McKinley made changes -
        Attachment SOLR-906-StreamingHttpSolrServer.patch [ 12396422 ]
        Shalin Shekhar Mangar made changes -
        Assignee Shalin Shekhar Mangar [ shalinmangar ]
        Ryan McKinley made changes -
        Assignee Ryan McKinley [ ryantxu ]
        Ryan McKinley made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Grant Ingersoll made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Ryan McKinley
            Reporter:
            Ryan McKinley
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development