lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zqzuk <ziqi.zh...@hotmail.com>
Subject ranged query on multivalued field doesnt seem to work
Date Thu, 29 Jan 2009 17:36:55 GMT

Hi all,

in my schema I have two multivalued fields as

<field name="start_year" type="sfloat" indexed="true" stored="true"
multiValued="true"/>
<field name="end_year" type="sfloat" indexed="true" stored="true"
multiValued="true"/>

and I issued a query as: start_year:[400 TO *], the result seems to be
incorrect because I got some records with start year = - 3000... and also
start year = -2147483647 (Integer.MINVALUE) Also when I combine start_year
with end_year, it also produced wrong results...

what could be wrong? is it because I used wrong field type "sfloat", which
should be integer?

Any hints would be very much appreciated!

many thanks!
-- 
View this message in context: http://www.nabble.com/ranged-query-on-multivalued-field-doesnt-seem-to-work-tp21731778p21731778.html
Sent from the Solr - User mailing list archive at Nabble.com.


Mime
View raw message