SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 55697: The Search Interface to SAS® Content web application encounters an error when it feeds the content to the indexing server

DetailsAboutRate It

When the Search Interface to SAS Content feeds content to the indexing server, a failure can occur, generating the following error:

 com.sas.svcs.search.client.IndexServiceException: Encountered problem while Indexing content to IR Studio Indexing Server.

When this failure occurs, the following errors appear in the SASSearchService.log file, which resides in SAS-configuration-directory/Lev1/Web/Logs/SASServer12_1:

com.sas.svcs.search.dao.irstudio.IRStudioIndexDao - Exception encountered while preparing XML from extracted datajava.lang.NullPointerException
com.sas.svcs.search.dao.irstudio.IRStudioIndexDao - Some objects might have not been indexed due to malformed XML
com.sas.svcs.search.impl.SearchIndexServiceImpl - Failed to index the records with irstudio
com.sas.svcs.search.impl.SearchIndexServiceImpl - Encountered problem while Indexing content to IR Studio Indexing Server.

Some of the required fields are missing from the SAS® Information Retrieval Studio schema. Therefore, its content is not searchable. If a few fields are missing from the configuration of the indexing server for SAS Information Retrieval Studio, the content of those fields are neither indexed nor available in a response. In this scenario, it is important to ensure that the indexing server is reconfigured.

To reconfigure the schema, follow these steps:

  1. Stop the Search Interface to SAS Content web application, as follows, dependent on your operating environment:

    UNIX operating environments: Submit the following command:

    SAS-configuration-directory/Lev1/Web/WebAppServer/SASServer12_1/bin>$ ./tcruntime-ctl.sh stop

    Microsoft Windows operating environments: Stop the SASServer12_1 web application service.


  2. Stop the SAS Information Retrieval Studio server by submitting the following command:

    Under UNIX: Submit the following command:

    SAS-configuration-directory/Lev1/Applications/SASInformationRetrievalStudioforSAS>./IRStudio.sh stop

    Under Windows: Stop the SAS Information Retrieval Studio service.


  3. Edit the pipeline-server.db file by replacing S'BIRD' with S'BIRD1'. The pipeline-server.db file is located in the following directories:

    • Under UNIX: SAS-configuration-directory/Lev1/Applications/SASInformationRetrievalStudioforSAS/work/

    • Under Windows: SAS-configuration-directory\Lev1\Applications\SASInformationRetrievalStudioforSAS\work\

  4. Delete ALL of the files in the index directory. The index directory resides in the following locations:

    Under UNIX: SAS-configuration-directory/Lev1/Applications/SASInformationRetrievalStudioforSAS/work/index

    Under Windows: SAS-configuration-directory\Lev1\Applications\SASInformationRetrievalStudioforSAS\work\index

  5. Restart the SAS Information Retrieval Studio server, as follows:

    Under UNIX: Submit the following command:

    SAS-configuration-directory/Lev1/Applications/SASInformationRetrievalStudioforSAS>./IRStudio.sh start

    Under Windows: Start the SAS Information Retrieval Studio service.


  6. Start the Search Interface to SAS Content web application, as follows:

    Under UNIX: Submit the following command:

    SAS-configuration-directory/Lev1/Web/WebAppServer/SASServer12_1/bin>$ ./tcruntime-ctl.sh start

    Under Windows: Start the SASServer12_1 web application service.



    1. Operating System and Release Information

      Product FamilyProductSystemProduct ReleaseSAS Release
      ReportedFixed*ReportedFixed*
      SAS SystemSearch Interface to SAS ContentMicrosoft® Windows® for x643.49.4 TS1M2
      Linux for x643.49.4 TS1M2
      * For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.