Hello Gentlemen (+Ladies?),
I'm integrating Lucene into a Spring web-app, and have found a plethora of
great web + print resources to make the integration quick and seamless. One
thing that I have been hard-pressed to find is a good solution for rebuilding
the index on a regular basis.
My first question is how many documents would you be deleting on a pass for
option 2? If it's 10 documents out of 10,000, I'd consider just deleting
them and re-adding (see IndexModifier).
Personally, if posible, I prefer your first option, building a completely
new index and switching between
: Daniel Naber [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 19, 2006 4:06 PM
To: java-user@lucene.apache.org
Subject: Re: MultiFieldQueryParser doesn't properly filter out documents when
the query string specifies to exclude certain terms
On Tuesday 19 December 2006 23:05, Scott Sellman wrote
I am not sure if this is a problem with Lucene or if I am building my
Query object improperly. It seems to me, when performing a search that
should exclude certain terms, MultiFieldQueryParser doesn't filter out
documents when it should. Consider the following example to clarify
what I am
On Tuesday 19 December 2006 23:05, Scott Sellman wrote:
new
BooleanClause.Occur[]{BooleanClause.Occur.SHOULD,
BooleanClause.Occur.SHOULD}
Why do you explicitly specify these operators?
q.add(keywordQuery, BooleanClause.Occur.MUST); //true, false);
You seem to wrap a