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

Embeddable class to call solr directly

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.2
    • None
    • None

    Description

      For some embedded applications, it is useful to call solr without running an HTTP server. This class mimics the behavior you would get if you sent the request through an HTTP connection. It is designed to work nicely (ie simple) with JNI

      the main function is:

      public class DirectSolrConnection
      {
      String request( String pathAndParams, String body ) throws Exception

      { ... }

      }

      Attachments

        1. SOLR-212-DirectSolrConnection.patch
          6 kB
          Ryan McKinley
        2. SOLR-212-DirectSolrConnection.patch
          7 kB
          Ryan McKinley
        3. SOLR-212-DirectSolrConnection.patch
          8 kB
          Ryan McKinley
        4. SOLR-212-DirectSolrConnection.patch
          9 kB
          Ryan McKinley
        5. SOLR-212-DirectSolrConnection.patch
          11 kB
          Ryan McKinley
        6. embeddedSolr.zip
          1.28 MB
          Brian Whitman
        7. DirectSolrConnection.java
          7 kB
          damu liu

        Activity

          People

            ryantxu Ryan McKinley
            ryantxu Ryan McKinley
            Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: