There is a default 1024 limit to number of items in a boolen query, but BooleanQuery.setMaxClauseCount allows you to increase this.
However, query response time is proportional to the doc frequency of a term. And a boolean query is related to the sum of the subqueries. So, even if you see on average 50ms per single word, you might see well over 30 seconds for a 'full document' query (depending on document length and its content, of course). Tate -----Original Message----- From: Jing Su [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2003 11:58 AM To: [EMAIL PROTECTED] Subject: Is there any limitation on query length? If there is not, then it means i can pass a document as a query then get the ranked similiar documents for it? Thanks. Jing --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]