RE: Multiple Keywords - Regular and Any Order Search

2013-10-12 Thread raghavendra.k.rao
The sysout copy-paste got corrupted for some reason previously. Please see below. +org.apache.lucene.queryparser.surround.query.SimpleTermRewriteQuery(unused: )(LUC_FLD_ACTVY_DTLS, ABC, org.apache.lucene.queryparser.surround.query.BasicQueryFactory(maxBasicQueries: 1024, queriesMade: 0)) +org

RE: Multiple Keywords - Regular and Any Order Search

2013-10-12 Thread raghavendra.k.rao
I made some progress and prepared the below syntax. But I don't get any results when I search for "ABC CORP" even though there are matching records. SrndQuery srndQuery = org.apache.lucene.queryparser.surround.parser.QueryParser.parse("(ABC AND CORP)"); Query query = srndQuery.makeLuceneQueryFi

RE: Multiple Keywords - Regular and Any Order Search

2013-10-12 Thread raghavendra.k.rao
Ian, Thank you very much for your valuable inputs. The surround parser sounds very powerful and it just may be the single answer to all what I am looking for. I have been trying hard to find an example for its implementation but haven't been able to find one online. Could you please help? Ind