Numerical Range Query

2008-05-12 Thread Dan Hardiker
her than numerically. Oddly enough, if I sort on that field ... it works as I expect. Am I missing something? -- Dan Hardiker PS: I've been googling for well over an hour, if I'm not searching with the right terms - please advise me! I tried to find a way to search the a

Re: Numerical Range Query

2008-05-12 Thread Dan Hardiker
quot; ... but that meant that the searching didn't pick up on that field _at all_. Surely "find me results where numeric field x is higher than y" can't be an uncommon request? I can think of many areas where you want to do that (age filtering for exampl

Re: Numerical Range Query

2008-05-14 Thread Dan Hardiker
Erick Erickson wrote: Are you using NumberTools both at index and query time? Because this works exactly as I expect Yes, the code I posted showed the usage of NumberTools -- here it is from my 2nd reply: Taking your advice I'm now indexing using: document.add( new Field(RateUtils.SF_F