Re: non-lexical comparisons

2005-07-07 Thread jian chen
Yeah, RDBMS makes sense. In this case, would it be better to simple store those in a relational database and just use Lucene to do indexing for the text? Cheers, Jian On 7/7/05, Leos Literak <[EMAIL PROTECTED]> wrote: > I know the answear, but just for curiosity: > > have you guys ever thought

Re: non-lexical comparisons

2005-07-07 Thread Jeff Davis
Have you considered left-padding your numbers with zeros to make each number a string of the same length? e.g., The number 5 would be indexed/queried as "5", which can be correctly compared to 10 ("00010"), 2345 ("02345"), etc. in a lexical comparison... Jeff On 7/7/05, Leos Literak <[EMAIL