Thanks Hoss... You're absolutely right!
Kevin
On 2/9/06, Chris Hostetter <[EMAIL PROTECTED]> wrote:
>
>
> : I need all the documents returned from the search and am manipulating
> the
> : results with a custom HitCollector, therefore I can't use filters.
>
> I don't understand this comment. The
: I need all the documents returned from the search and am manipulating the
: results with a custom HitCollector, therefore I can't use filters.
I don't understand this comment. There are certianly methods in the
Searchble interface that allow you to use both a Filter and a HitCollector
together
>
> One more thing: in case these queries are generated, you might
> consider building the corresponding (nested) BooleanQuery yourself
> instead of using the QueryParser.
>
> Regards,
> Paul Elschot
I'll give that a try. Thanks Paul.
On Thursday 09 February 2006 00:52, Kevin Dutcher wrote:
> Hey Everyone,
>
> I'm running into the "More than 32 required/prohibited clauses in query"
> exception when running a query. I thought I understood the problem but the
> following two scenarios confuse me.
>
> 1st - No Error
> 33 required
On Thursday 09 February 2006 15:25, Kevin Dutcher wrote:
> > I don't know a lot about the error your encountering (or not encountering
> > as the case may be) but please for hte love of all that is sane use a
> > Filter instead of putting all those categories in your Query.
> >
> > Your search perf
> I don't know a lot about the error your encountering (or not encountering
> as the case may be) but please for hte love of all that is sane use a
> Filter instead of putting all those categories in your Query.
>
> Your search performance and your scores will thank you.
I need all the documents
>for hte love of all
> that is sane use a
> Filter instead of putting all those categories in
> your Query.
Try this one:
package org.apache.lucene.search;
import java.io.IOException;
import java.util.ArrayList;
import java.util.BitSet;
import java.util.Iterator;
import org.apache.lucene.ind
52:22 -0500
: From: Kevin Dutcher <[EMAIL PROTECTED]>
: Reply-To: java-user@lucene.apache.org
: To: java-user@lucene.apache.org
: Subject: Too many required clauses for a BooleanQuery
:
: Hey Everyone,
:
: I'm running into the "More than 32 required/prohibited clauses in query"
Hey Everyone,
I'm running into the "More than 32 required/prohibited clauses in query"
exception when running a query. I thought I understood the problem but the
following two scenarios confuse me.
1st - No Error
33 required clauses plus additional clauses that are left off b/c they
are the same