Re: Number range search through Query subclass

2003-02-15 Thread Tatu Saloranta
On Friday 14 February 2003 02:58, Volker Luedeling wrote: > Hi, > > I am writing an application that constructs Lucene searches from XML > queries. Each item from the XML is represented by a Query of the > corresponding type. I have a problem when I try to search for number > ranges, since RangeQ

Number range search through Query subclass

2003-02-14 Thread Volker Luedeling
Hi,   I am writing an application that constructs Lucene searches from XML queries. Each item from the XML is represented by a Query of the corresponding type. I have a problem when I try to search for number ranges, since RangeQuery compares strings, not numbers, so 15 < 155 < 20. What I need i