Please explain a range query? tia :-)
Dennis Gearon Signature Warning ---------------- EARTH has a Right To Life, otherwise we all die. Read 'Hot, Flat, and Crowded' Laugh at http://www.yert.com/film.php --- On Thu, 4/29/10, Yonik Seeley <yo...@lucidimagination.com> wrote: > From: Yonik Seeley <yo...@lucidimagination.com> > 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 > <knagelb...@globeandmail.com> > 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 queries like q=id:102 OR id:303 OR id:305, etc. Right > now it is a String but I am going to switch to a float as > intuitively it ought to be easier to filter a number than a > string. > > > There won't be any difference in search speed for term > queries as you > show above. > If you don't need to do sorting or range queries on that > field, I'd > leave it as a String. > > > -Yonik > Apache Lucene Eurocon 2010 > 18-21 May 2010 | Prague >