On Tue, Dec 22, 2009 at 11:41 PM, johnson hong <hong.jinch...@goodhope.net> wrote: > I use Lucene's NumericField to index "price" field,And query with > solr.TrieDoubleField. > When i use "price:[1 TO 5000]" to search,it can return all results that > price is between 1 and 5000. > but the price value return is > :ERROR:SCHEMA-INDEX-MISMATCH,stringValue=2000.0</str> > anybogy know why?
The index format is compatible, but solr stores the values in binary. Use Solr to index, and the issues should go away. -Yonik http://www.lucidimagination.com