I've got to ask.... Why not just use a RangeQuery? Seems to be just what you want without the complications.....
Best Erick On 9/8/06, Luke Tan <[EMAIL PROTECTED]> wrote:
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