RE: benefits of float vs. string

2010-04-30 Thread Nagelberg, Kallin
o:gear...@sbcglobal.net] Sent: Friday, April 30, 2010 1:27 AM To: solr-user@lucene.apache.org; yo...@lucidimagination.com Subject: Re: benefits of float vs. string Please explain a range query? tia :-) Dennis Gearon Signature Warning EARTH has a Right To Life, otherwise we all die. Rea

Re: benefits of float vs. string

2010-04-29 Thread Dennis Gearon
> Subject: Re: benefits of float vs. string > To: solr-user@lucene.apache.org > Date: Thursday, April 29, 2010, 1:01 PM > On Wed, Apr 28, 2010 at 11:22 AM, > Nagelberg, Kallin > > wrote: > > Does anyone have an idea about the performance > benefits of searching across flo

Re: benefits of float vs. string

2010-04-29 Thread Yonik Seeley
On Wed, Apr 28, 2010 at 11:22 AM, Nagelberg, Kallin wrote: > Does anyone have an idea about the performance benefits of searching across > floats compared to strings? I have one multi-valued field that contains about > 3000 distinct IDs across 5 million documents. I am going to be a lot of > qu

Re: benefits of float vs. string

2010-04-29 Thread Lance Norskog
Floats are Trie types and are stored in a compressed format. They will search faster. They will also sort with much less space. One thing to point out is that doing bitwise comparison on floats is to live in a state of sin. Your string representations must parse exactly right. On Wed, Apr 28, 201