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 Jan Høydahl / Cominvent <ja...@cominvent.com> on 2010/07/01 15:25:26 UTC
SolrJ: BinaryRequestWriter with StreamingUpdateSolrServer
Hi,
I had the impression that the StreamingUpateSolrServer in SolrJ would automatically use the /update/javabin UpdateRequestHandler. Is this not true? Do we need to call
server.setRequestWriter(new BinaryRequestWriter()) for it to transmit content with the binary protocol?
--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
Training in Europe - www.solrtraining.com
Re: SolrJ: BinaryRequestWriter with StreamingUpdateSolrServer
Posted by Yonik Seeley <yo...@lucidimagination.com>.
There's an issue open for this:
https://issues.apache.org/jira/browse/SOLR-1565
I'm not sure off the top of my head how much is involved in making it
happen though.
-Yonik
http://www.lucidimagination.com
On Thu, Jul 1, 2010 at 9:25 AM, Jan Høydahl / Cominvent
<ja...@cominvent.com> wrote:
> Hi,
>
> I had the impression that the StreamingUpateSolrServer in SolrJ would automatically use the /update/javabin UpdateRequestHandler. Is this not true? Do we need to call
> server.setRequestWriter(new BinaryRequestWriter()) for it to transmit content with the binary protocol?
>
> --
> Jan Høydahl, search solution architect
> Cominvent AS - www.cominvent.com
> Training in Europe - www.solrtraining.com
Re: SolrJ: BinaryRequestWriter with StreamingUpdateSolrServer
Posted by Thijs <vo...@gmail.com>.
The streaming won't use the 'set' Requestwriter. It uses a custom xml
requestwriter embedded in the StreamingUpdateSolrServer.
I was also hoping it would use a BinaryRequestWriter but after digging
it turned-out not to.
On 1-7-2010 15:25, Jan Høydahl / Cominvent wrote:
> Hi,
>
> I had the impression that the StreamingUpateSolrServer in SolrJ would automatically use the /update/javabin UpdateRequestHandler. Is this not true? Do we need to call
> server.setRequestWriter(new BinaryRequestWriter()) for it to transmit content with the binary protocol?
>
> --
> Jan Høydahl, search solution architect
> Cominvent AS - www.cominvent.com
> Training in Europe - www.solrtraining.com
>
>