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 Alok Bhandari <al...@gmail.com> on 2012/06/25 12:02:09 UTC

Sending Object as a request parameter

Hello,

Is there any provision available with Solr so that while querying the solr
server using solrj API I can send Object as a request parameter? So that in
my request handler on solr side I can read that object.Thanks.

--
View this message in context: http://lucene.472066.n3.nabble.com/Sending-Object-as-a-request-parameter-tp3991151.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Sending Object as a request parameter

Posted by Jack Krupansky <ja...@basetechnology.com>.
Sure, call SolrQuery.setParam("param-name", "value") using Solrj - encode 
the object as a string value and access the request parameters in your 
request handler.

-- Jack Krupansky

-----Original Message----- 
From: Alok Bhandari
Sent: Monday, June 25, 2012 5:02 AM
To: solr-user@lucene.apache.org
Subject: Sending Object as a request parameter

Hello,

Is there any provision available with Solr so that while querying the solr
server using solrj API I can send Object as a request parameter? So that in
my request handler on solr side I can read that object.Thanks.

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Sending-Object-as-a-request-parameter-tp3991151.html
Sent from the Solr - User mailing list archive at Nabble.com.