Re: Encryption

2006-05-06 Thread Sebastian Marius Kirsch
On Sat, May 06, 2006 at 01:16:43AM +, George Washington wrote: > I am using Lucene to index as well as to store complete source documents > (typically few tens of thousands of documents, not millions). I would like > to protect the source documents with encryption but have the following > qu

Re: Encryption

2006-05-06 Thread John Haxby
George Washington wrote: Is it possible to reconstruct a complete source document from the data stored in the index, even if the fields are only indexed but not stored? Because if the answer is "yes" there is no point in encrypting, unless the index itself can be encrypted. Is it feasible to e

Re: SpanNearQuery .equals()/.hash()

2006-05-06 Thread Chris Hostetter
: I'm not sure if it's worth fixing them all or not... implementing set i'm -1 against making this change. The results of searching on these query objects may be the same -- but that doesn't mean the query objects themselves should be considered equivilent. attempting to define them as equal wo

Re: SpanNearQuery .equals()/.hash()

2006-05-06 Thread Yonik Seeley
Yes, most of Lucene's Query equals() and hashCode() methods consider clause order important (including BooleanQuery). It's like List.equals() vs Set.equals() I'm not sure if it's worth fixing them all or not... implementing set equality with an underlying list can certainly be more expensive (so

Re: SpanNearQuery .equals()/.hash()

2006-05-06 Thread Michael Chan
Hi, I'm using the latest version. Try the following: SpanQuery[] clauses1 = {new SpanTermQuery(new Term("contents", "test1")), new SpanTermQuery(new Term("contents", "test2"))}; SpanNearQuery nearQ1 = new SpanNearQuery(clauses1, 3