You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "Dave C." <da...@hotmail.com> on 2007/12/18 07:41:14 UTC
Meaning of "max clauses 1024" error
Hello,
I'm curious as to the meaning of a certain exception I am receiving.
If i try a query such as "*", I get an exception which basically says there is a maximum of 1024 clauses for a BooleanQuery. However, if I enter "*:*" it matches all documents and returns them.
Can someone explain to me what happens when the query is "*" versus a query for "*:*"?
Thanks,
David
_________________________________________________________________
i’m is proud to present Cause Effect, a series about real people making a difference.
http://im.live.com/Messenger/IM/MTV/?source=text_Cause_Effect
Re: Meaning of "max clauses 1024" error
Posted by Chris Hostetter <ho...@fucit.org>.
: I'm curious as to the meaning of a certain exception I am receiving. If
: i try a query such as "*", I get an exception which basically says there
: is a maximum of 1024 clauses for a BooleanQuery. However, if I enter
: "*:*" it matches all documents and returns them. Can someone explain to
: me what happens when the query is "*" versus a query for "*:*"?
*:* is syntactic sugar solr supports for finding all documents .... but
i'm really suprised you get an error related to a max of 1024 clauses from
a search for "*" .... to the best of my knowledge that has always (in
released and unreleased versions) produced this example...
Cannot parse '*': '*' or '?' not allowed as first character in WildcardQuery
...are you sure that's waht you were searching on?
-Hoss