lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Van Nguyen" <vngu...@ur.com>
Subject RangeQuery question?
Date Tue, 11 Jul 2006 20:08:47 GMT
Is there a RangeQuery equivalent that can query date range on two
different fields?

 

Term startTerm = new Term("startDate", "20060710");

Term endTerm = new Term("endDate", "20060711");

 

RangeQuery q = new RangeQuery(startTerm, endTerm, true);

 

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message