Re: two questions about NumberTools

2007-07-29 Thread Mohammad Norouzi
Hi I create my index files and encode all numbers using solr's NumberUtils but searching not works!!! I created a custom query parser and override the getRangeQuery and getFieldQuery but no result will return. do I have to implement a custom analyzer too? currently I am using whitespace analayzer a

Re: two questions about NumberTools

2007-07-16 Thread Mohammad Norouzi
Thanks Dima the first link is very nice and I put some comment on that if you take a look again but it has no decode method. anyway, I decided to use solr solution thanks again :) On 7/16/07, Dima May <[EMAIL PROTECTED]> wrote: Mohammad, see for my 2 cents below, Good luck. D On 7/16/07,

Re: two questions about NumberTools

2007-07-16 Thread Dima May
Mohammad, see for my 2 cents below, Good luck. D On 7/16/07, Mohammad Norouzi <[EMAIL PROTECTED]> wrote: Hello I have problem in range queries, for example, I have queries like "field:[1 TO 25]" or "field:[1.1 TO 11.25]" currently these queries not work. field:[20 TO 25] works fine but when

two questions about NumberTools

2007-07-16 Thread Mohammad Norouzi
Hello I have problem in range queries, for example, I have queries like "field:[1 TO 25]" or "field:[1.1 TO 11.25]" currently these queries not work. field:[20 TO 25] works fine but when the both limits of the range have different number of digits the query won't work. so the solution is NumberToo