lucene-solr-user mailing list archives

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

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.

Otis
--
Lucene Consulting -- http://lucene-consulting.com/



----- Original Message ----
From: Jawahar Lal <jlal@chambal.com>
To: solr-user@lucene.apache.org
Sent: Wednesday, July 18, 2007 1:37:43 PM
Subject: How Solr index the long values ?

Hi,

     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
(longvalue).

     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.

Thanks




Mime
View raw message