dcsimg
A query question
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   rimmer_arnold
Posted On:   Friday, January 24, 2003 03:06 PM

just downloaded lucene a couple days back & i have this question
if i have 2 queries shown below

Query query1 = QueryParser.parse(question1, "contents", analyzer);

Query query2 = QueryParser.parse(question2, "contents", analyzer);


question how do i form these 2 queries into one query i have seen BooleanQuery can do this. Can any other Query do this? if so can you give me a sample demonstrating this please ?

About | Sitemap | Contact