lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <>
Subject Re: How Solr index the long values ?
Date Wed, 18 Jul 2007 13:03:48 GMT

How Solr indexed your field depends on how you configured that field in Solr's schema.xml.
 That would be the first place to look.  While looking at that file, search it for the word
"long" and you will see how you can configure Solr to handle fields with values of type long.

Lucene Consulting --

----- Original Message ----
From: Jawahar Lal <>
Sent: Wednesday, July 18, 2007 1:37:43 PM
Subject: How Solr index the long values ?


     I indexed an document containing a field with fieldtype long. I also
indexed an document with the same field with field type long using my
application. I indexed that long field with NumberTools.longToString

     I opened both the indexes through the Luke. Luke is showing the
different format for the indexed value.

This the indexed data for value 80 using myapplication :0000000002uyv4
For the same value indexed data using solr is in some different format which
includes # ; digits & and other characters.

 I am thinking Solr is indexing long value differently, and that's why solr
is not able to search range query in this field.

My question is how Solr is indexing the long value.


View raw message