Telligent Community 6 has many capabilities leveraged on search, but it does not have an instated search provider - so search must be installed as shown below.
- Install Java on the search server. Remember that if you are using 64-bit Tomcat, you will need to use 64-bit Java.
- Test whether Java is already installed by viewing http://java.com/en/download/help/testvm.xml on the search server. In Telligent Community, search requires at least version 6 update 13. If your installation meets this requirement, skip to the Install Tomcat step below.
- If you're using a 64-bit operating system, you must view this test page in a 64-bit browser (such as Internet Explorer 64-bit edition which comes pre-installed on all 64-bit versions of Windows).
- Download the latest version of java from Java.com.
- Install Tomcat. Remember that if you are using 64-bit Tomcat, you need to match it with 64-bit Java.
- Download version 6 of the Tomcat Windows Service Installer from Apache.
- Open the installer and follow it through, taking note of the following:
- In the Choose Components window, ensure you have selected the the Tomcat > Service and Tomcat > Native options.
- In the Choose Install Location window, make a note of the installation directory - this will be needed in the next step.
- Update Tomcat to support UTF8 characters:
- Open the /conf/server.xml file in the installation directory you selected in step b.B.
- Find the appropriate <Connector /> element in the server.xml file, and add the attribute URIEncoding="UTF-8"
<Connector port="8080"... URIEncoding="UTF-8"/>
- Test that Tomcat is installed correctly by navigating to http://localhost:8080/.
- Install Solr.
Note: If you want to run multiple Telligent communities from the same search server, follow the instructions at Host multiple Telligent Community communities on multiple Solr instances instead.
- Copy the Solr folder in the /Search/ directory of the Telligent Community install files to the root directory of Apache Tomcat.
- Copy the solr.war file in this folder to the /webapps directory of Apache Tomcat.
- Navigate to the Solr administration page (http://localhost:8080/solr/admin) to verify that the installation was successful. Note: If you have any issues with search, see troubleshoot search errors.
Solr runs very well as it's configured out of the box. But if you have a medium- to large-sized community, you should increase the memory allocated to the Java virtual machine (JVM). The default allocated memory is 64MB. You should consider giving it 512MB or more.
To increase the memory for the JVM:
- Right-click the Tomcat Manager in the system tray and select Configure.
- Select the Java tab.
- Set the Maximum memory pool size (in MB) that you want to allocate to the JVM.
Connect Web site to search
Important: Solr should never be accessible to the public. Ensure that neither the Tomcat home page nor the Solr home page is publicly accessible. If this endpoint is accessible, work with your IT department or read Securing Solr on Tomcat for more details on blocking this endpoint from the public.
- Ensure that all Web servers can access the Solr home page by opening to the Solr home page on each server ( e.g., http://servername:8080/solr/ ).
- Configure Telligent Community to use your Solr URL:
- Download the following communityserver_override.config file.
- Place this file in the root of your Web site directory.
- Find the following section in the communityserver_override.config file and replace the value for the value element with the URL to your Solr instance.
Note: This URL is case-sensitive.
Note: If you have any issues with search, see troubleshoot search errors.
Enable attachment indexing
On the server that is running the Telligent Job Scheduler, install either the Windows search service or indexing service depending on your operating system.
- Window Server 2008 / Windows Server 2008 R2 - Install the Windows search service
- Open the Server Manager: Navigate to Start > Run > ServerManager.msc.
- In the Services tab, click Roles in the left pane and select Add Roles from the Roles Summary window. Alternatively, you can click the Action menu option and select Add Roles.
- Continue with wizard and select the File Services check box. Click Next.
- If not already checked, select the Windows Search Service check box and click Next. Note: If either Windows Search Service or Indexing Service (under the Windows Server 2003 File Services) was already checked, you can cancel the installation; one of the necessary services is already installed.
In the next option window, Select Volumes to Index for Windows Search Service. You do not need to select a volume. Click Next.
- Click Install.
- Windows Server 2003 / Windows Server 2003 R2 - Install the Indexing Service
- Navigate to the Windows Control Panel and select Add/Remove Programs.
- Select Add/Remove Windows Components from the left pane of the Add/Remove window.
- If not already checked, select the Indexing Service check box and click Next to install. Note: If the check box was already checked, this indicates the service is already installed - so you can cancel the installation.
- Windows Vista / Windows 7 - Ensure the Windows search service is installed
- Navigate to the Control Panel, click Programs, and then click Turn Windows features on or off.
- If not already checked, select the Windows Search check box and click OK. Note: If the check box was already checked, you can cancel the installation; the service is already installed.
Install additional IFilters to index additional attachment types
By default, Windows includes IFilters to extract textual content from uploaded files (such as media gallery files, blog post attachments and forum post attachments). However additional IFilters may be installed to index content from additional file types. Telligent recommends that you install the following additional IFilters: