You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Chris Hostetter <ho...@fucit.org> on 2012/04/10 21:03:58 UTC
Re: Range Queries -sfloat
: query is price: [ 1 TO 20 ] is returning values out of this range ,like
: 23.00 AND 55.00 .The field type of the price field is sfloat .
can you provide more details about the documents matching out of the
range? are you sure this isn't a multivalued field?
: When I check this form admin Debug query ,I am seeing junk instead of price.
...
: <str name="parsedquery">price:[1.0 TO 20.0]</str>
: <str name="parsedquery_toString">price:[¿ࠀ#0; TO Á#0;]</str>
:
: Why is this happenning ?
this is expected from the "toString" because the SortableFloatField uses a
special byte encoding of the numeric values so that "term order" matches
numeric order.
-Hoss