[TYPO3-Solr] How to fix this solr error?

Dmitry Dulepov dmitry.dulepov at gmail.com
Tue Nov 13 13:00:51 CET 2012


Hi!

I am getting the following exception in the devLog from Solr server:

----------------------
org.apache.lucene.search.BooleanQuery$TooManyClauses: maxClauseCount is set 
to 1024
at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:136)
at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:127)
at org.apache.lucene.search.ScoringRewrite$1.addClause(ScoringRewrite.java:51)
...
----------------------

The request to the Solr server looks like:

----------------------
https://***/select?fl=%2A%2Cscore&fq=%7B%21typo3access%7D-1%2C0&fq=siteHash%3A%229be577f0d4bef0eea9ac495967274db8%22&fq=language%3A%5C-1+OR+language%3A0&fq=%28type%3A%22tx_solr_file%22%29&q.alt=%2A%3A%2A&hl=true&hl.fragsize=200&hl.fl=title%2Ccontent&hl.simple.pre=%3Cspan+class%3D%22results-highlight%22%3E&hl.simple.post=%3C%2Fspan%3E&spellcheck=true&spellcheck.collate=true&facet=true&facet.mincount=1&facet.sort=count&facet.field=type&facet.field=sortAuthor&facet.field=subpart_stringM&qf=content%5E40.0+title%5E5.0+keywords%5E2.0+tagsH1%5E5.0+tagsH2H3%5E3.0+tagsH4H5H6%5E2.0+tagsInline&wt=json&json.nl=map&q=%2A&start=0&rows=10
----------------------

Query string in the browser:

----------------------
http://***/?tx_solr%5Bq%5D=*&tx_solr%5Bfilter%5D%5B0%5D=type%3atx_solr_file
----------------------

To me the request looks absolutely normal. What do we do to avoid this 
error? I do not see anything close to 1024 parameters.

-- 
Dmitry Dulepov

Simplicity will save the world.



More information about the TYPO3-project-solr mailing list