lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luke Tan" <tans...@gmail.com>
Subject Using SpanRegexQuery to search year like 200?
Date Sat, 09 Sep 2006 00:50:03 GMT
Hi,

Can this be use to search year 2000, 2001, 2002, ... 2009?

SpanFirstQuery snq = new SpanFirstQuery(new SpanRegexQuery(new Term("year",
"200?")), 1);


I need to use it to search something like

Who is born in 200?

Thanks

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