OK, I'm checking out EmbeddedSolrServer and am able to use wt=javabin. The
reason I started using DirectSolrConnection instead though, is that I can't
seem to get EmbeddedSolrServer to point to my real solr directory. When I
start it up, the core creates a directory in the same directory I'm
working-in called, "solr". Here's what I have going (jruby):

container = CoreContainer.new
descriptor = CoreDescriptor.new(container, "mycore", solr_home)
core = container.create(descriptor)
container.register("mycore", core, false)

solr_home doesn't seem to change anything. Anything obviously wrong here?

Matt

On Sat, Nov 15, 2008 at 10:19 AM, Matt Mitchell <[EMAIL PROTECTED]> wrote:

> I tried querying using SolrDirectConnection with a wt=javabin and only get
> an error. Something like, "This is a binary writer, cannot write to a
> character stream." Is there something obvious I'm doing wrong? Does the
> SolrDirectConnection support wt=javabin?
>
> Matt
>
>
>
>
> On Sat, Nov 15, 2008 at 12:01 AM, Noble Paul (JIRA) <[EMAIL PROTECTED]>wrote:
>
>>
>>    [
>> https://issues.apache.org/jira/browse/SOLR-859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12647799#action_12647799]
>>
>> Noble Paul commented on SOLR-859:
>> ---------------------------------
>>
>> Why cant the JRuby version wrap SolrJ ? That way we get the performance
>> benefits of wt=javabin
>>
>> > solr-ruby rewrite, jruby support
>> > --------------------------------
>> >
>> >                 Key: SOLR-859
>> >                 URL: https://issues.apache.org/jira/browse/SOLR-859
>> >             Project: Solr
>> >          Issue Type: Improvement
>> >          Components: clients - ruby - flare
>> >    Affects Versions: 1.3
>> >            Reporter: Matt Mitchell
>> >         Attachments: rewrite.1.patch
>> >
>> >
>> > Here is a re-write of the solr ruby client library. This is a simplified
>> set of features, but really only missing the mapper/indexer code that's
>> present in the current solr-ruby. Bringing those in will be the next step.
>> > Tests are in test. Please read the README, there are instructions for
>> running the tests.
>> > A Solr 1.3 distribution is including for tests.
>> > * find patch in file uploads "rewrite.1.patch"
>> > - Matt Mitchell
>>
>> --
>> This message is automatically generated by JIRA.
>> -
>> You can reply to this email to add a comment to the issue online.
>>
>>
>

Reply via email to