Hi, It could be enough to simply combine both queries into a single query string and pass that on as the query to the IndexSearcher.
Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch ----- Original Message ---- > From: Siti Rochimah <[EMAIL PROTECTED]> > To: java-user@lucene.apache.org > Sent: Friday, August 1, 2008 1:04:27 PM > Subject: query API for program-generated query (please help..) > > Hi, > > I'm a new user for Lucene. > > I would like to make search-engine program with program-generated query > rather > than user-input query. If anyone knows how to make a query API for this > purpose, > please share the code... > Thanks. > > siti_r > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]