Hi
  I have an lucene index which contains size field. The size field
contains long value indexed using NumberTools.longToString(longvalue). I
want Solr to search range query with in this index.

    To do so, I added
 <field name="size" type="slong" indexed="true" stored="true"/> in the
schema.xml file. Range query can be performed on slong type.

Then I started jetty server and search the query +size:[10 To 10000].
I am getting no docs although there are documents within the range of
size.

Please guide me what I am missing.

Thanks
Jawahar


Reply via email to