The Search Service tool operates as a standalone web application on a Tomcat server. Once it is deployed, operations include modifying the configuration and leveraging the PDS and PDAP protocols to query data and metadata that has been extracted from the Registry (see the Search Core for more information). The following topics will be covered below:
See the Apache Solr website and wiki for more information on configuring Apache Solr. More Search Service configuration changes TBD.
See the PDS Search Protocol Document for more information on querying the Search Service for PDS data and metadata.
This error usually means there is a typo in the Search Service Tomcat context file. More specifically, make sure the first line in $TOMCAT_HOME/conf/Catalina/localhost/search-service.xml matches this exactly:
<?xml version="1.0" encoding="utf-8" ?>
See Deploying the Application in the Install Guide for more information on creating this file.
This error occurs when the saxon-9.jar is not in the classpath. The following are mitigation strategies:
<Loader className="org.apache.catalina.loader.VirtualWebappLoader" virtualClasspath="/usr/local/search-service/lib/saxon-9.jar"/>
See Deploying the Application in the Install Guide for more information on creating this file.
This error occurs when the CATALINA_OPTS environment variable is not properly set, or set multiple times in /usr/local/tomcat/catalina.sh (or /etc/init.d):
export CATALINA_OPTS="${CATALINA_OPTS} -Dsolr.pds.home=/usr/local/search-service"
This error occurs when the Search Service is not populated with data. See the Search Core for information on populating the Search Service.