1 Dec 2006 01:33
Re: Attached proposed modifications to Lucene 2.0 to support Field.Store.Encrypted
negrinv <victornegrin <at> gmail.com>
2006-12-01 00:33:58 GMT
2006-12-01 00:33:58 GMT
Thank you Robert for your commnets. I am inclined to agree with you, but I would like to establish first of all if simplicity of implementation is the overriding consideration. But before I dwell on that let me say that i have discovered that I am not a master of DIFF file creation with Eclipse. The diff file attachement to my original posting is absurdly large and not correct. I have therefore attached a zip file containing the complete source code of the classes I modified. I leave it to others to extract the diffs properly. Back to the issue. So far the implementation has not been difficult considering that I knew nothing about Lucene internals before I started. The reason is that Lucene is very well structured and the changes just fitted nicely by adding some code in the right place with minimal changes to the existing code. But I admit that the proposed implementation so far is not complete and more work is required to overcome some of its restrictions. While I like your idea I believe that it imposed too large a granularity on the encrypted data, all fields will all kinds of data will be encrypted including images and others which normally would be left alone, thus adding to the performance penalty due to encryption. Many hardware devices and most operating systems already provide directory or file system encryption therefore that level of encryption appears to me an unnecessary addition to Lucene. Encryption at field level however is not provided by anything I know. The key in my opinion is to decide what is best from the end user point of view, but perhaps we need more discussion on this. Victor http://www.nabble.com/file/4390/LuceneEncryptionMods.zip LuceneEncryptionMods.zip Robert Engels wrote:(Continue reading)
, I would look for a other ways to fix this - ideas are welcome.
Perf test was done using the task benchmark framework (see issue 675), The logs show also the queries that
RSS Feed