List Info

Thread: TooManyClauses , DASL search stopped working!




TooManyClauses , DASL search stopped working!
country flaguser name
Iceland
2007-04-11 05:35:34
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, eikiidega.is
Chief Software Engineer
Idega Software
http://www.idega.com


------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org


ANYONE? Lucene problem in Slide ,TooManyClauses , DASL search stopped working!
country flaguser name
Iceland
2007-04-13 06:47:16
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, eikiidega.is
Chief Software Engineer
Idega Software
http://www.idega.com


------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-dev-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-dev-helpjakarta.apache.org



------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org


Re: ANYONE? Lucene problem in Slide ,TooManyClauses , DASL search stopped working!
user name
2007-04-13 07:55:55
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 <eikiidega.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, eikiidega.is
> Chief Software Engineer
> Idega Software
> http://www.idega.com
>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: slide-dev-unsubscribejakarta.apache.org
> For additional commands, e-mail: slide-dev-helpjakarta.apache.org
>
>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
> For additional commands, e-mail: slide-user-helpjakarta.apache.org
>
>

------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )