.
Thanks a lot,
Polina
-Original Message-
From: Brisbart Franck [mailto:[EMAIL PROTECTED]
Sent: June 28, 2004 10:25 AM
To: Lucene Users List
Subject: Re: how to get all terms as search results (or "*" equivalent)
When you use wildcards like that, the parser builds 1 query for
When you use wildcards like that, the parser builds 1 query for each
term matching the wildcarded term. With this approach, it should have
created n queries (ie n boolean clauses) where n is number of terms.
The number of clauses for a BooleanQuery is limited to 1024 by default.
You can change th
Since it is not allowed to use "*" or "?" symbols as the first character
of a search, I tried the following query as an alternative:
"Field_1: ([a* TO z*] OR [A* TO Z*] OR [0* TO 9*])"
but the QueryParser complains saying:
"org.apache.lucene.search.BooleanQuery$TooManyClauses".
Any idea why this