lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan G <>
Subject from long to tlong, compatible?
Date Wed, 02 Feb 2011 20:46:54 GMT

I'm using SOLR 1.4.1 and have a rather large index with 800+M docs. 
Until now we have, erroneously I think, indexed a long field with the type:

<fieldType name="long" class="solr.TrieLongField" precisionStep="0" 
omitNorms="true" positionIncrementGap="0"/>

Now the range queries have become slow as there are many distinct terms in the 

My question is if it would be possible to just change the field to the preferred 

type "tlong" with a precision of "8"?

<fieldType name="tlong" class="solr.TrieLongField" precisionStep="8" 
omitNorms="true" positionIncrementGap="0"/>

Would this change be compatible with my indexed data or should I re-indexed the 
date (a pain with 800+M docs :))?



View raw message