lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrzej Bialecki ...@getopt.org>
Subject Re: Lucene Index Encryption
Date Mon, 11 May 2009 06:19:36 GMT
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message