lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Toke Eskildsen ...@statsbiblioteket.dk>
Subject RE: Ensuring stable timestamp ordering
Date Tue, 02 Nov 2010 06:45:34 GMT
Dennis Gearon [gearond@sbcglobal.net] wrote:
> how about a timrstamp with either a GUID appended on  the end of it?

Since long (8 bytes) is the largest atomic type supported by Java, this would have to be represented
as a String (or rather BytesRef) and would take up 4 + 32 bytes + 2 * 4 bytes from the internal
BytesRef-attributes + some extra overhead. That is quite a large memory penalty to ensure
unique timestamps.
Mime
View raw message