On May 28, 2010, at 9:23am, Phillip Rhodes wrote:

Hi.
I am building up a query with quite a bit of logic such as parentheses, plus signs, etc... and it's a little tedious dealing with it all at a string level. I was wondering if anyone has any thoughts on constructing the query in lucene and using the string representation of the query to send to solr.

Depending on complexity, SolrJ could be a solution.

See the section that talks about "SolrJ provides a APIs to create queries instead of hand coding the query..." on http://wiki.apache.org/solr/Solrj

-- Ken

--------------------------------------------
Ken Krugler
+1 530-210-6378
http://bixolabs.com
e l a s t i c   w e b   m i n i n g




Reply via email to