lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Williams <william...@gmail.com>
Subject Re: how to deal with too many clause error in boolean query.
Date Wed, 17 Jun 2009 19:32:27 GMT
On Wed, Jun 17, 2009 at 3:16 PM, vanshi<nilu.thakur@gmail.com> wrote:
>
> Hello all,
>
> I have a situation where a field is indexed like this
> (FAC_NAME(Field.Store.NO, Field.Index.NO_NORMS)) and keyword analyzer is
> used on this field. Although, I'm aware that NO_NORMS doesn't use any
> analyzer.
>
> Now, the query +(FAC_NAME:fa*) is failing with 'Too many clause exception'
> in my application. I tried to query the index directly through 'Luke; and it
> is coming up with same exception. If I change the query to have three
> letters like +(FAC_NAME:fai*) then it is returning results.
>
> What could be the cause of errror? Is it due to 'NO_NORMS' field??

Wildcards work by term expansion see:

http://markmail.org/message/s6ruhvpnxhemu3ms

--tim

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message