You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by bu...@apache.org on 2004/02/12 12:02:50 UTC
DO NOT REPLY [Bug 26884] New: -
TooManyClause when having large number of hits
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26884>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26884
TooManyClause when having large number of hits
Summary: TooManyClause when having large number of hits
Product: Lucene
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: Other
Component: Search
AssignedTo: lucene-dev@jakarta.apache.org
ReportedBy: csaba.ludescher@idtim.ro
Lucene version 1.3 final release
I have an index with 356554 documents. I've indexed files of an average size of
10kb.The documents in lucene have 4 field. One used as primary key, one as the
name of the file, the third the content and the last the date of the file.
Building a RangeQuery I tried to search in the content of the file (field
name="content") and before a specific date (each file is older than the
specified date so all document should have been returned) I got the following
exception:
org.apache.lucene.search.BooleanQuery$TooManyClauses
at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:109)
at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:101)
at org.apache.lucene.search.RangeQuery.rewrite(RangeQuery.java:137)
at org.apache.lucene.search.BooleanQuery.rewrite(BooleanQuery.java:244)
at org.apache.lucene.search.IndexSearcher.rewrite(IndexSearcher.java:188)
The string representation of the Query is:
+(+content:reuters) +date:[ TO 0dovxpz40]
where "content" is the field where the file content is indexed
and "date" the field containing the date, stored via DateField.dateToString(Date)
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org