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
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
: 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
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
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