lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Staveley (Tom)" <rstave...@seseit.com>
Subject BooleanQuery.TooManyClauses on MultiSearcher
Date Thu, 15 Jun 2006 13:50:53 GMT
I've just added a 3rd index directory (i.e. 3rd IndexSearcher) to my
MultiSearcher and I'm getting BooleanQuery.TooManyClauses errors on queries
which were working happily on 2 indexes.

Here's an example query, which hopefully you'll find self-explanatory from
the XML structure.
--------8<--------
<composite-query analyzer='1'>
	<group required="true" prohibited="false">
		<group required="false" prohibited="false">
			<prefix field="to" required="false"
prohibited="false">james</prefix>
			<prefix field="cc" required="false"
prohibited="false">james</prefix>
			<prefix field="smtp-rcptto" required="false"
prohibited="false">james</prefix>
			<prefix field="from" required="false"
prohibited="false">james</prefix>
			<prefix field="smtp-mailfrom" required="false"
prohibited="false">james</prefix>
		</group>
		<parse field="body" required="false"
prohibited="false">james</parse>
		<parse field="subject" required="false"
prohibited="false">james</parse>
	</group>
</composite-query>
--------8<--------

Note that there isn't even a range in there.

Do BooleanQueries not scale well across indexes?

Mime
View raw message