I've filled an index with 1100 text files with the names "monisys1" to "monisys1100".
If I start a WildcardQuery
WildcardQuery query = new WildcardQuery(new Term("fileId","monisys*"));
Hits hits = searcher.search(query);
I get a "Too many clauses" exception, like I expected.
But when I use a filter to avoid this exception, this exception still occurs.
ConstantScoreQuery scoreQuery = new ConstantScoreQuery(new QueryWrapperFilter(new WildcardQuery(new Term("fileId","monisys*"))));
Hits hits = searcher.search(scoreQuery);
Did I miss something?
Thank you.
--René
--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]