Try a sdouble or sfloat field type? Andrew.
johan.sjoberg wrote: > > Hi, > > we're performing range queries of a field which is of type double. Some > queries which should generate results does not, and I think it's best > explained by the following examples; it's also expected to exist data in > all ranges: > > > ?q=field:[10.0 TO 20.0] // OK > ?q=field:[9.0 TO 20.0] // NOT OK > ?q=field:[09.0 TO 20.0] // OK > > Interesting here is that the range query only works if both ends of the > interval is of equal length (hence 09-to-20 works, but not 9-20). > Unfortunately, this logic does not work for ranges in the 100s. > > > > ?q=field:[* TO 500] // OK > ?q=field:[100.0 TO 500.0] // OK > ?q=field:[90.0 TO 500.0] // NOT OK > ?q=field:[090.0 TO 500.0] // NOT OK > > > > Any ideas to this very strange behaviour? > > > Regards, > Johan > > > -- View this message in context: http://www.nabble.com/Solr-773-%28GEO-Module%29-question-tp25041799p25062912.html Sent from the Solr - User mailing list archive at Nabble.com.