lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tate Avery" <tate.av...@nstein.com>
Subject RE: Is there any limitation on query length?
Date Mon, 01 Dec 2003 17:04:51 GMT


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:J.Su@cs.bham.ac.uk]
Sent: Monday, December 01, 2003 11:58 AM
To: lucene-dev@jakarta.apache.org
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: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message