Configure search if you want to raise the maximum number of words indexed per content item, or if you want to change the ports used for non-secure or SSL connections.
About this task
- The maximum number of words indexed per content item defaults to 10,000 words, roughly 14 single-spaced pages of 11-point text.
- The default port used for non-secure connections is 8983 and for SSL 8443 (these may be in use by other Java applications).
Procedure
- If some of your Content Manager items contain more than 10,000 words and you want reindex them using the search engine:
- Navigate to your <Tridion installation>\solr-home\tridion\conf\ directory.
The default Content Manager root location is c:\Program Files\Tridion or c:\Program Files (x86)\Tridion\.
- Open solrconfig.xml in a plain-text or XML editor.
- Find the element
<maxFieldLength> and change its value to the maximum number of words you expect the search engine to have to index.
- Save and close solrconfig.xml.
Note: The <maxFieldLength> is bound by the available memory, which by default is set to 1 GB. If you specify a very large field length, and try to index a content item with that many words, an out-of-memory exception may occur. You will therefore need to allocate more memory.
- You can allocate more memory to the search engine as follows:
- Navigate to your <Tridion installation>\bin\ subfolder.
- Open TcmSearchHost.exe.config in a plain-text or XML editor.
- Find the
solrHost element. This element has an attribute called jvmArguments which contains a large number of settings.
- Find a setting called
jvmOptions, which has a value that starts with -Xmx1024M.
- Change
1024M (that is, 1024 MB or 1 GB) to a memory value you expect to be sufficient for your <maxFieldLength> value.
- Save and close TcmSearchHost.exe.config.
- To configure a different port for normal or SSL communication:
- Navigate to your <Tridion installation>\solr-jetty\conf\ directory.
The default Content Manager root location is c:\Program Files\Tridion or c:\Program Files (x86)\Tridion\.
- Open jetty.xml in an XML or plain-text editor.
- To configure a different port for a non-SSL connection, find the
SystemProperty element with its name attribute set to jetty.port and change its default attribute to a port number of your choice.
- To configure a different port for an SSL connection, edit the value of the
Set element with its name attribute set to confidentialPort.
- Save and close jetty.xml.
- If you changed the SSL port:
- Open jetty-ssl.xml.
- Find the
Set element with its name attribute set to the value Port, and change the value of that element to the same value you gave confidentialPort in the jetty.xml file.
- Save and close
jetty-ssl.xml.
- From the Windows Start Menu, access the Control Panel, and from the Administrative Tools, access Services. Find the Windows service called Tridion Content Manager Search Host and restart it.