On Thu, Jun 29, 2006, Rakesh Prajapati wrote about "Limit of QueryParser ?":
> What is the maximum number of words allowed by the QueryParser.
QueryParser generates a BooleanQuery, so this class's "MaxClauseCount"
limits the number of words (each becoming a clause in this BooleanQuery)
you can have in a query parser expression.
The default limit is 1024, but you can change it with
BooleanQuery.setMaxClauseCount()
Note, however, that if you really use such huge queries, they may be
extremely slow.
--
Nadav Har'El | Thursday, Jun 29 2006, 3 Tammuz 5766
IBM Haifa Research Lab |-----------------------------------------
|Thousands of years ago, cats were
http://nadav.harel.org.il |worshipped as gods. They never forgot.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]