Quantcast
Channel: Telligent Community 6
Viewing all articles
Browse latest Browse all 234

Install and configure search

$
0
0
Current Revision posted to Telligent Community 6 by Jenny Jarrard on 8/21/2014 9:54:12 PM

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.

  1. Install Java on the search server. Remember that if you are using 64-bit Tomcat, you will need to use 64-bit Java.

    1. 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).
    2. Download the latest version of java from Java.com
  2. Install Tomcat. Remember that if you are using 64-bit Tomcat, you need to match it with 64-bit Java.
    1. Download version 6 of the Tomcat Windows Service Installer from Apache.
    2. Open the installer and follow it through, taking note of the following:
      1. In the Choose Components window, ensure you have selected the the Tomcat > Service and Tomcat > Native options.

      2. In the Choose Install Location window, make a note of the installation directory - this will be needed in the next step. 

    3. Update Tomcat to support UTF8 characters:
      1. Open the /conf/server.xml file in the installation directory you selected in step b.B.
      2. Find the appropriate <Connector /> element in the server.xml file, and add the attribute URIEncoding="UTF-8"
        <Server ...>
        <Service ...>
        <Connector port="8080"... URIEncoding="UTF-8"/>
        ...
        </Connector>
        </Service>
        </Server>
    4. Test that Tomcat is installed correctly by navigating to http://localhost:8080/.
  3. 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.

    1. Copy the Solr folder in the /Search/ directory of the Telligent Community install files to the root directory of Apache Tomcat.
    2. Copy the solr.war file in this folder to the /webapps directory of Apache Tomcat.
    3. 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

    Note: 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:
    1. Right-click the Tomcat Manager in the system tray and select Configure.
    2. Select the Java tab.
    3. 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.

    1. 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/ ).
    2. Configure Telligent Community to use your Solr URL:
      1. Download the following communityserver_override.config file.
      2. Place this file in the root of your Web site directory.
      3. 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.

        <Override xpath="/CommunityServer/Search/Solr"
        mode="change"
        name="host"
        value="http://yourserver:XXXX/PathToSolr"
        />

      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
      1. Open the Server Manager: Navigate to Start > Run > ServerManager.msc.
      2. 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.
      3. Continue with wizard and select the File Services check box. Click Next.
      4. If not already checked, select the Windows Search Service check box and click NextNote: 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.
      5. Click Install
    • Windows Server 2003 / Windows Server 2003 R2 - Install the Indexing Service
      1. Navigate to the Windows Control Panel and select Add/Remove Programs.
      2. Select Add/Remove Windows Components from the left pane of the Add/Remove window.
      3. 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
      1. Navigate to the Control Panel, click Programs, and then click Turn Windows features on or off.
      2. If not already checked, select the Windows Search check box and click OK. NoteIf 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:

    Tags: Forum, post, Blog, search, solr, Media Gallery, install

    Viewing all articles
    Browse latest Browse all 234

    Latest Images

    Trending Articles





    Latest Images