lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jawahar Lal" <j...@chambal.com>
Subject Searching Range query using Solr within myIndex
Date Wed, 18 Jul 2007 07:07:48 GMT
> 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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message