Re: Range search problem on float values

2007-02-15 Thread Peter McPeterson
Ah ha! Awesome thanks. From: "Yonik Seeley" <[EMAIL PROTECTED]> Reply-To: solr-user@lucene.apache.org To: solr-user@lucene.apache.org Subject: Re: Range search problem on float values Date: Fri, 16 Feb 2007 01:01:33 -0500 On 2/16/07, Peter McPeterson <[EMAIL PROTECTED]>

Re: Range search problem on float values

2007-02-15 Thread Yonik Seeley
On 2/16/07, Peter McPeterson <[EMAIL PROTECTED]> wrote: Yonik, yes, I did re-index the data after changing the field type. And Chris, yes, I am using float. Ah ha... the comments in the example schema say it all. You need sfloat if you need range queries. Slightly confusing to have these diff

Re: Range search problem on float values

2007-02-15 Thread Peter McPeterson
r-user@lucene.apache.org Subject: Re: Range search problem on float values Date: Thu, 15 Feb 2007 21:02:05 -0800 (PST) : Hi all, I'm having a problem doing a range search on float values. The field : types for longitude and latitude were text, then I changed to float to give : it a try bu

Re: Range search problem on float values

2007-02-15 Thread Chris Hostetter
: Hi all, I'm having a problem doing a range search on float values. The field : types for longitude and latitude were text, then I changed to float to give : it a try but I'm still having problems. are you using "float" or "sfloat" ... float stores floats, but doesn't so the super special magic s

Re: Range search problem on float values

2007-02-15 Thread Yonik Seeley
On 2/15/07, Peter McPeterson <[EMAIL PROTECTED]> wrote: Hi all, I'm having a problem doing a range search on float values. The field types for longitude and latitude were text, then I changed to float to give it a try but I'm still having problems. The correct search string would be: latitude:[3

Range search problem on float values

2007-02-15 Thread Peter McPeterson
Hi all, I'm having a problem doing a range search on float values. The field types for longitude and latitude were text, then I changed to float to give it a try but I'm still having problems. The correct search string would be: latitude:[32.71852 TO 32.792765] AND longitude:[-117.159316 TO -11