You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by naptowndev <na...@gmail.com> on 2012/02/13 19:15:20 UTC

Solr binary response for C#?

Admittedly I'm new to this, but the project we're working on feeds results
from Solr to an ASP.net application.  Currently we are using XML, but our
payloads can be rather large, some up to 17MB.  We are looking for a way to
minimize that payload and increase performance and I'm curious if there's
anything anyone has been working out that creates a binary response that can
be read by C# (similar to the javabin response built into Solr).

That, or if anyone has experience implementing an external protocol like
Thrift with Solr and consuming it with C# - again all in the effort to
increase performance across the wire and while being consumed.

Any help and direction would be greatly appreciated!

Thanks!

--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-binary-response-for-C-tp3741101p3741101.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr binary response for C#?

Posted by Jan Høydahl <ja...@cominvent.com>.
Hi,

I just created a JIRA to investigate an Avro based serialization format for Solr: https://issues.apache.org/jira/browse/SOLR-3135
You're welcome to contribute. Guess we'll first need to define schemas, then create an AvroResponseWriter and then support in the C# Solr client.

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
Solr Training - www.solrtraining.com

On 14. feb. 2012, at 15:14, Erick Erickson wrote:

> It's not as compact as binary format, but would just using something
> like JSON help enough? This is really simple, just specify
> &wt=json (there's a method to set this on the server, at least in Java).
> 
> Otherwise, you might get a more knowledgeable response on the
> C# java list, I'm frankly clueless....
> 
> Best
> Erick
> 
> On Mon, Feb 13, 2012 at 1:15 PM, naptowndev <na...@gmail.com> wrote:
>> Admittedly I'm new to this, but the project we're working on feeds results
>> from Solr to an ASP.net application.  Currently we are using XML, but our
>> payloads can be rather large, some up to 17MB.  We are looking for a way to
>> minimize that payload and increase performance and I'm curious if there's
>> anything anyone has been working out that creates a binary response that can
>> be read by C# (similar to the javabin response built into Solr).
>> 
>> That, or if anyone has experience implementing an external protocol like
>> Thrift with Solr and consuming it with C# - again all in the effort to
>> increase performance across the wire and while being consumed.
>> 
>> Any help and direction would be greatly appreciated!
>> 
>> Thanks!
>> 
>> --
>> View this message in context: http://lucene.472066.n3.nabble.com/Solr-binary-response-for-C-tp3741101p3741101.html
>> Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solr binary response for C#?

Posted by Erick Erickson <er...@gmail.com>.
It's not as compact as binary format, but would just using something
like JSON help enough? This is really simple, just specify
&wt=json (there's a method to set this on the server, at least in Java).

Otherwise, you might get a more knowledgeable response on the
C# java list, I'm frankly clueless....

Best
Erick

On Mon, Feb 13, 2012 at 1:15 PM, naptowndev <na...@gmail.com> wrote:
> Admittedly I'm new to this, but the project we're working on feeds results
> from Solr to an ASP.net application.  Currently we are using XML, but our
> payloads can be rather large, some up to 17MB.  We are looking for a way to
> minimize that payload and increase performance and I'm curious if there's
> anything anyone has been working out that creates a binary response that can
> be read by C# (similar to the javabin response built into Solr).
>
> That, or if anyone has experience implementing an external protocol like
> Thrift with Solr and consuming it with C# - again all in the effort to
> increase performance across the wire and while being consumed.
>
> Any help and direction would be greatly appreciated!
>
> Thanks!
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Solr-binary-response-for-C-tp3741101p3741101.html
> Sent from the Solr - User mailing list archive at Nabble.com.