[ http://issues.apache.org/jira/browse/LUCENE-582?page=comments#action_12413605 ]
Eric Jain commented on LUCENE-582: ---------------------------------- If you want to be able to "rescue" the query, I believe the catching has to be done in the rewrite method, which means you need to subclass the PrefixQuery and WildcardQuery classes... I wonder how many people would be disappointed if Lucene returned a less well scored list of results rather than failing, and how many developers actually get around to implement this kind of fallback strategy? > Don't throw TooManyClauses exception > ------------------------------------ > > Key: LUCENE-582 > URL: http://issues.apache.org/jira/browse/LUCENE-582 > Project: Lucene - Java > Type: Improvement > Components: Search > Versions: 2.0.0 > Reporter: Eric Jain > Priority: Minor > > I wonder if it would make sense to fall back to a ConstantScoreQuery instead > of throwing a TooManyClauses exception? -- 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]