As a follow-up, it seemed that in the past much of Lucene relied on
the OS disk cache for performance. The FieldCache seems to go
against this, probably because of the parsing involved.
The 'fixed-length' key file would not need extensive parsing, and
thus seems more suitable for OS level caching.
Robert
On Oct 18, 2007, at 11:57 AM, Doug Cutting wrote:
robert engels wrote:
seek (segment doc no * keylength), read (byte[keylength])
This would be very efficient when using external document storage.
A seek per document in hits is to be avoided. This is similar to
the way field data is stored, which is, as mentioned in the first
message "very slow if recall set is large".
See the "Stored Fields" section of:
http://lucene.apache.org/java/docs/fileformats.html#Fields
Doug
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]