Hi Eirikur!
You need to inspect the query that is being passed over to
Lucene to
find out what is wrong. This either works by debugging the
code and
inspecting the variable values (AbstractLuceneExpression,
line 224
does the Lucene call). Or you inspect the log as the query
is written
to the log in line 208). You need debug level enabled for
that class,
though. Use log4j logger to set fine grained logging
settings.
Maybe you want to post the expression to the list, if you
still have no clue.
HTH
Oliver
2007/4/13, Eirikur Hrafnsson <eiki idega.is>:
>
> 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.AbstractLuceneExpr
ession.execu
> te(AbstractLuceneExpression.java:224)
> at
>
org.apache.slide.index.lucene.expressions.AbstractLuceneExpr
ession.execu
> te(AbstractLuceneExpression.java:116)
> at
>
org.apache.slide.search.basic.expression.MergeExpression.exe
cute
> (MergeExpression.java:76)
> at
>
org.apache.slide.search.basic.expression.MergeExpression.exe
cute
> (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.executeR
edirect
> (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, eiki idega.is
> Chief Software Engineer
> Idega Software
> http://www.idega.com
>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: slide-dev-unsubscribe jakarta.apache.org
> For additional commands, e-mail: slide-dev-help jakarta.apache.org
>
>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: slide-user-unsubscribe jakarta.apache.org
> For additional commands, e-mail: slide-user-help jakarta.apache.org
>
>
------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribe jakarta.apache.org
For additional commands, e-mail: slide-user-help jakarta.apache.org
|