Lucene Searcher failing if the keyword is "a*" or "b*" -------------------------------------------------------
Key: LUCENE-612 URL: http://issues.apache.org/jira/browse/LUCENE-612 Project: Lucene - Java Type: Bug Components: Search Reporter: Dhananjay Kumar Lucene Searcher failing if the keyword is "a*" or "b*", but surprisingly its not for all the letters (followed with *). The error I am getting is Exception in thread "main" org.apache.lucene.search.BooleanQuery$TooManyClauses at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:79) at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:71) at org.apache.lucene.search.PrefixQuery.rewrite(PrefixQuery.java:50) at org.apache.lucene.search.IndexSearcher.rewrite(IndexSearcher.java:166) at org.apache.lucene.search.Query.weight(Query.java:84) at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:85) at org.apache.lucene.search.Hits.getMoreDocs(Hits.java:64) at org.apache.lucene.search.Hits.<init>(Hits.java:43) at org.apache.lucene.search.Searcher.search(Searcher.java:33) at org.apache.lucene.search.Searcher.search(Searcher.java:27) ============================================================= Please suggest a solution. Its very very urgent. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]