I want to query, right now I use it in the following way,

CommonsHttpSolrServer server = new CommonsHttpSolrServer("URL HERE");
SolrQuery sq = new SolrQuery();
sq.add("q",query);
QueryResponse qr = server.query(sq);

Regards,
Rohit
-----Original Message-----
From: Yury Kats [mailto:yuryk...@yahoo.com] 
Sent: 14 October 2011 13:51
To: solr-user@lucene.apache.org
Subject: Re: SolrJ + Post

On 10/14/2011 9:29 AM, Rohit wrote:
> I want to user POST instead of GET while using solrj, but I am unable to
> find a clear example for it. If anyone has implemented the same it would
be
> nice to get some insight.

To do what? Submit? Query? How do you use SolrJ now?

Reply via email to