lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrzej Bialecki>
Subject Re: remove seek-back in terms dict / fold appending codec into default?
Date Tue, 26 Jun 2012 16:58:16 GMT
On 26/06/2012 17:32, Robert Muir wrote:
> Just looking at the previous thread, I wonder if we should consider
> removing AppendingCodec and just removing this seek stuff.
> Currently this is essentially metadata stuff in terms dict/index (e.g.
> terms dict field summary section and offsets for each field in terms
> index:
> I know the typical argument for keeping this stuff is that we would
> need to rely upon additional file operations (e.g. length), and we
> want to limit that, but this isn't the only possible solution, e.g. we
> could write a read-once file with this metadata thats just slurped in.
> And really relying upon seek at write could be viewed as just as bad
> as relying upon length, obviously we know some filesystems dont
> support it.

We could do even better - remove seek from IndexOutput.

Best regards,
Andrzej Bialecki, blog
  ___.,___,___,___,_._. __________________<><____________________
[___||.__|__/|__||\/|: Information Retrieval, System Integration
___|||__||..\|..||..|: Contact: info at sigram dot com

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message