Re: Parsing a Lucene/Solr query and adding more clauses

2013-01-16 Thread balaji.gandhi
This is awesome. Thanks. I will look into the API and figure out how to manipulate the query nodes. -- View this message in context: http://lucene.472066.n3.nabble.com/Parsing-a-Lucene-Solr-query-and-adding-more-clauses-tp4033973p4034031.html Sent from the Lucene - Java Users mailing list archi

Re: Querying the Query object

2013-01-16 Thread balaji.gandhi
Hi, I am trying to do something similar:- Eg. Input: (name:John AND name:Doe) Output: ((firstName:John OR lastName:John) AND (firstName:John OR lastName:John)) How can I extract the fields, change them and repackage the query? Thanks, Balaji -- View this message in context: http://lu

Re: Retrieving parsed query string terms

2013-01-16 Thread balaji.gandhi
Hi, I am trying to do something similar:- Eg. Input: (name:John AND name:Doe) Output: ((firstName:John OR lastName:John) AND (firstName:John OR lastName:John)) How can I extract the fields, change them and repackage the query? Thanks, Balaji -- View this message in context: http://lu

Re: Get fields from a Query object

2013-01-16 Thread balaji.gandhi
Hi, I am trying to do something similar:- Eg. Input: (name:John AND name:Doe) Output: ((firstName:John OR lastName:John) AND (firstName:John OR lastName:John)) How can I extract the fields, change them and repackage the query? Thanks, Balaji -- View this message in context: http://lucene