Before You Start the Solr Search Engine

Once you have installed a Solr Search Engine instance, you need to start it. Before doing so, you need to do the following: 

  1. Create new system variables on the Search Engine server host:
    • Variable:= JAVA_HOME
      Value: = <home folder of JDK>. For example: C:\Program Files\Java\jdk1.8.0_31

      Note The Service Manager 9.50 Solr Search Engine requires JDK 1.8 (either Oracle or OpenJDK). The latest JDK 1.8 is recommended.

    • Variable: JAVA_TOOL_OPTIONS
      Value: -Dfile.encoding=UTF8
  2. Add one of the following lines to the sm.ini file, located in the <Service Manager install>\Server\RUN directory.

    plugin0:kmplugin.dll (if the SM server is running on Windows)

    plugin0:libkmplugin.so (if the SM server is running on Unix)

  3. If your sm.ini file already contains the following line, remove it.

    KMSearchEngineClass:com.hp.ov.sm.server.plugins.knowledgemanagement.solr.KMSolrSearch

    Note This parameter is no longer needed for Service Manager Solr Search Engine version 9.41 or later. If it is present in the sm.ini file, a warning message will occur in the Service Manager server log (sm.log).

  4. Once you have modified the sm.ini file, restart the Service Manager server.