Hi,

 I have checked already its configuration. It is using slong to index long
values. The Field types ie. sint, slong, sdouble, sfloat are the types which
make possible the searching range query. But I want to know that is it using
NumberTool to index numeric values or something else. Because I compared the
indexes created by solr and My application for same numeric data. I found
difference in the format of indexed data.


On 18/07/07, Otis Gospodnetic <[EMAIL PROTECTED]> wrote:

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 <[EMAIL PROTECTED]>
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




Reply via email to