RE: how to get all terms as search results (or "*" equivalent)

2004-06-28 Thread Polina Litvak
. 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

Re: how to get all terms as search results (or "*" equivalent)

2004-06-28 Thread Brisbart Franck
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

how to get all terms as search results (or "*" equivalent)

2004-06-28 Thread Polina Litvak
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