When performing a search in Content Station — connected to an Enterprise Server on which Solr Search is used — it can happen that no facets are shown.
This can happen for system configurations that use Solr and which have extensive access rights on Status level. Because all StateId's to which the user has got access are stored in the request to Solr, the request can exceed the default file size of 8KB. In such cases, Enterprise Server will fall back to the database for query results, and no facets will be shown.
The solution is to have Solr/Tomcat accept larger httpHeaders by configuring Tomcat.
Step 1. In the conf/server.xml file for Tomcat, locate the following section:
<Connector URIEncoding="UTF-8" port="8181" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443"/>
Step 2. Add the following statement:
maxHttpHeaderSize="65536"
The section now looks as follows:
<Connector URIEncoding="UTF-8" port="8181" protocol="HTTP/1.1"connectionTimeout="20000" maxHttpHeaderSize="65536"redirectPort="8443"/>
Notes:
|
Step 3. Restart Tomcat.
Comment
Do you have corrections or additional information about this article? Leave a comment! Do you have a question about what is described in this article? Please contact Support.
0 comments
Please sign in to leave a comment.