ANYONE? Lucene problem in Slide ,TooManyClauses , DASL search stopped working!

Eirikur Hrafnsson <[email protected]> Fri, 13 Apr 2007 11:47:16 +0000
Newsgroups gmane.comp.jakarta.slide.user,gmane.comp.jakarta.slide.devel
Message-ID <[email protected]>
On Apr 11, 2007, at 10:35 AM, Eirikur Hrafnsson wrote:

Hi all,

I have a server running on txfile store that has a component that  
diplays links to the latest/newest resources in Slide.
Suddenly a few weeks ago it started coming up empty and the log says:

org.apache.lucene.search.BooleanQuery$TooManyClauses: maxClauseCount  
is set to 10000
         at org.apache.lucene.search.BooleanQuery.add 
(BooleanQuery.java:165)
         at org.apache.lucene.search.BooleanQuery.add 
(BooleanQuery.java:156)
         at org.apache.lucene.search.MultiTermQuery.rewrite 
(MultiTermQuery.java:63)
         at org.apache.lucene.search.WildcardQuery.rewrite 
(WildcardQuery.java:54)
         at org.apache.lucene.search.BooleanQuery.rewrite 
(BooleanQuery.java:408)
         at org.apache.lucene.search.IndexSearcher.rewrite 
(IndexSearcher.java:138)
         at org.apache.lucene.search.Query.weight(Query.java:94)
         at org.apache.lucene.search.Hits.<init>(Hits.java:42)
         at org.apache.lucene.search.Searcher.search(Searcher.java:45)
         at org.apache.lucene.search.Searcher.search(Searcher.java:37)
         at  
org.apache.slide.index.lucene.expressions.AbstractLuceneExpression.execu 
te(AbstractLuceneExpression.java:224)
         at  
org.apache.slide.index.lucene.expressions.AbstractLuceneExpression.execu 
te(AbstractLuceneExpression.java:116)
         at  
org.apache.slide.search.basic.expression.MergeExpression.execute 
(MergeExpression.java:76)
         at  
org.apache.slide.search.basic.expression.MergeExpression.execute 
(MergeExpression.java:76)
         at org.apache.slide.search.basic.BasicQueryImpl.execute 
(BasicQueryImpl.java:134)
         at org.apache.slide.search.basic.BasicQueryEnvelope.execute 
(BasicQueryEnvelope.java:214)
         at org.apache.slide.search.SearchImpl.search(SearchImpl.java: 
116)
         at org.apache.slide.webdav.method.SearchMethod.executeRequest 
(SearchMethod.java:230)
         at  
org.apache.slide.webdav.method.AbstractWebdavMethod.executeRedirect 
(AbstractWebdavMethod.java:583)
         at org.apache.slide.webdav.method.AbstractWebdavMethod.run 
(AbstractWebdavMethod.java:416)
         at org.apache.slide.webdav.WebdavServlet.service 
(WebdavServlet.java:151)

The DASL search has not changed at all only more data has been put  
into the repository but honestly it's very little data in there, lots  
of folders though.
I've tried to find out what is the problem with no luck. Some old  
Lucene forum said that the user should just increase the  
maxclausecount but I don't think I can do that from my search
since it is configured inside Slide. Btw I'm using Slide HEAD from  
about a month ago but we have the same problem with an older version.

What can I do??

Best Regards

Eirikur S. Hrafnsson, [email protected]
Chief Software Engineer
Idega Software
http://www.idega.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]