lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Sokolov <>
Subject Re: Lucene->SOLR transition
Date Mon, 19 Sep 2011 02:43:39 GMT
On 9/15/2011 8:30 PM, Scott Smith wrote:
> 2.       Assuming that the answer to 1 is "correct", then is there an easy way to take
a lucene query (with nested Boolean queries, filter queries, etc.) and generate a SOLR query
string with q and fq components?
I believe that Query.toString() will probably get you back something 
that can be parsed in turn by the traditional lucene QueryParser, thus 
completing the circle and returning your original Query.  But why would 
you want to do that?


View raw message