Re: FixedStraightBytesImpl - flushing

2012-07-24 Thread Simon Willnauer
hey SimonM :) On Mon, Jul 23, 2012 at 6:37 PM, Simon McDuff wrote: > > Hello, (LUCENE 4.0.0-ALPHA) > > We are using the DocValues features (very nice). cool! > > We are using FixedBytesRef. > > In that specific case, we were wondering why does it flush at the end (when > we commit) ? the reas

FixedStraightBytesImpl - flushing

2012-07-23 Thread Simon McDuff
Hello, (LUCENE 4.0.0-ALPHA) We are using the DocValues features (very nice). We are using FixedBytesRef. In that specific case, we were wondering why does it flush at the end (when we commit) ? Would be more efficient (for memory) to write its buffer as it goes ? Thank you Simon