Hmmm, overriding toString() can make wonders. I will try as you
suggested. Thanx for quick reply.
Gr, Reza
On May 25, 2009, at 9:34 AM, Avlesh Singh wrote:
If you use SolrJ client to perform searches, does this not work for
you?
SolrQuery solrQuery = new SolrQuery();
solrQuery.setQuery(*myLuceneQuery.toString()*);
QueryResponse response = mySolrServer.query(solrQuery);
Cheers
Avlesh
On Mon, May 25, 2009 at 12:39 PM, Reza Safari <r.saf...@lukkien.com>
wrote:
Hello,
One little question: is there any utility that can convert core
Lucene
query (any type e.q. TermQuery etc) to solr query? It's is really a
lot of
work for me to rewrite existing code.
Thanks,
Reza
--
Reza Safari
LUKKIEN
Copernicuslaan 15
6716 BM Ede
The Netherlands
---------------------------------------------
http://www.lukkien.com
t: +31 (0) 318 698000
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you
have
received it in error, please notify the sender immediately and
delete the
original. Any other use of the email by you is prohibited.
--
Reza Safari
LUKKIEN
Copernicuslaan 15
6716 BM Ede
The Netherlands
---------------------------------------------
http://www.lukkien.com
t: +31 (0) 318 698000
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and delete
the original. Any other use of the email by you is prohibited.