You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Brian Whitman (JIRA)" <ji...@apache.org> on 2007/05/03 02:52:15 UTC

[jira] Updated: (SOLR-212) Embeddable class to call solr directly

     [ https://issues.apache.org/jira/browse/SOLR-212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Whitman updated SOLR-212:
-------------------------------

    Attachment: embeddedSolr.zip

I didn't have time to extract it from Cocoa/ObjC. Here is the xcode project with everything anyway -- so right now you'll need OSX to try this out. This is a very simple test of Ryan's SOLR-212 patch, it queries, adds a document and commits, all without a web server! Let me know if you have any questions. --brian


> Embeddable class to call solr directly
> --------------------------------------
>
>                 Key: SOLR-212
>                 URL: https://issues.apache.org/jira/browse/SOLR-212
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Ryan McKinley
>         Assigned To: Ryan McKinley
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: embeddedSolr.zip, SOLR-212-DirectSolrConnection.patch, SOLR-212-DirectSolrConnection.patch, SOLR-212-DirectSolrConnection.patch, SOLR-212-DirectSolrConnection.patch, SOLR-212-DirectSolrConnection.patch
>
>
> 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
>   {
>     ...
>   }
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.