Babak Farhang wrote:
If "position" is the only thing Lucene needs during writing, then that is good news: seeking backwards and overwriting what's already written--that would be difficult to implement. If Lucene employs a write once strategy for file I/O (w/ no exceptions), then we wont really need a true RAF during the *write* phase: all we need is an "append-only" RAF. No?
Unfortunately, current Lucene IndexWriter implementation uses seek / overwrite when writing term info dictionary. This is described in more detail here:
https://issues.apache.org/jira/browse/LUCENE-532 -- Best regards, Andrzej Bialecki <>< ___. ___ ___ ___ _ _ __________________________________ [__ || __|__/|__||\/| Information Retrieval, Semantic Web ___|||__|| \| || | Embedded Unix, System Integration http://www.sigram.com Contact: info at sigram dot com --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org