lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From michael ravits <michaelr...@yahoo.com>
Subject Re: sort problem
Date Mon, 03 Sep 2007 06:05:05 GMT
I'll try switching to int. Thanks.

Yonik Seeley <yonik@apache.org> wrote: On 9/2/07, michael ravits  wrote:
> this is the field definition:
>    
>
> holds message id's, values range from 0 to 127132531
> can I disable this cache?

No, sorting wouldn't work without it.

The cache structure certainly isn't optimal for this (every doc
probably has a different value).
If you could live with a cap of 2B on message id, switching to type
"int" would decrease the memory usage to 4 bytes per doc (presumably
you don't need range queries?)

-Yonik


       
---------------------------------
Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message