lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pradeep Kumar K <>
Subject Combining queries using OR
Date Sun, 09 Jun 2002 05:36:14 GMT
Hi All

   How to combine more  queries using 'OR' operator. For example

Two queries are

  Query quer1=QueryParser.parse(String query1,String field1,analyzer)
  Query quer2=QueryParser.parse(String query2,String field2,analyzer)

How can I combine these two queries using 'OR' operator i.e. ultimately 
query should be one like

quer1 OR quer2


Robosoft Technologies, Mangalore, India

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message