: Thanks. Is there any performance penalty vs. LongField? I don't need to
The other ones do normalization by converting to a Long internally -- i
have no idea if you would see some micro performance benefit in doing
the 0 stripping yourself.
Sorting a LongField should take less RAM then a Sor
y own.
From: Chris Hostetter
To: Solr
Sent: Tue, January 12, 2010 3:16:13 PM
Subject: Re: LongField not stripping leading zeros
: I have some text in our database in the form 0088698183939. The leading
: zeros are useless, but I want to able to search it with no leading zeros
: or several leading
: I have some text in our database in the form 0088698183939. The leading
: zeros are useless, but I want to able to search it with no leading zeros
: or several leading zeros. So, I decided to index this as a long,
: expecting it to just store it as a number. But, instead, I see this in
: the
This is in Solr 1.3.
I have some text in our database in the form 0088698183939. The leading zeros
are useless, but I want to able to search it with no leading zeros or several
leading zeros. So, I decided to index this as a long, expecting it to just
store it as a number. But, instead, I see t