General Settings → Common Services → Configuring the Work Center Search Engine
In the Work Center Search Engine tab, you configure settings for Smart Search—the search engine that provides sophisticated search capabilities by automatically indexing the content of items and files and notes that have been added to items. For distributed installations, you configure Smart Search settings directly on the SBM server that hosts SBM Common Services.
Smart Search operates on pre-built indices. For SBM upgrades, the index building begins once Tomcat is started for the first time after you upgrade your installation. The complete indexing operation can take significant time to finish for very large databases; however, some search results in Work Center begin to appear immediately and the number of results continues to grow while the initial indexing operation works toward completion.
Indexing is also performed on information in most file attachments that contain text (PDF and Microsoft Word, for example). For large documents, only the first 1 million characters are indexed and searchable.
You can view the overall progress of the indexing operation in the ssf.log file located on the server that hosts SBM Common Services. The log file is located here:
Use the following options to configure Smart Search Settings :
Specify a directory to host the Smart Search index files. The index files are used to enhance the searches that users perform in the browser. To increase the overall search response time, consider hosting the indexer on a separate dedicated host machine.
You can increase scalability and improve search query throughput by clustering the SBM Common Services component on multiple servers. For more information about creating a cluster, see Clustering Server Components.
Smart Search adjusts internal parameters accordingly depending on how often your users perform searches. Select a usage indicator to control how many threads are spawned to perform indexing.
Select a polling interval to control how often the service should poll the database to learn about new search strings and new related articles.
Use this option to reset the indexer. This operation cleans the current index by removing learned search strings and related articles that have been saved in the index.
By default, archived items are not indexed and therefore do not appear in Work Center search results when a user searches the Archive. To enable indexing for archived items, set lucene.indexArchivedTables to true in the config.properties file on the SBM Common Services server here:
Once this change is made, you must perform a full re-index using SBM Configurator before archived items appear in Archive search results. Note that any items that are archived after the reindex is finished will still appear in Local and Global search results until the automatic reindex check process completes; similarly, any items restored from the archive will appear in Archive search results. By default, the automatic reindex process runs daily at midnight. You can change this as needed by altering the spring cron expression in the ssf-config.xml file here:
This means any newly-archived or newly-restored items will appear in the proper search results area after the automatic reindex is finished.
SBM Common Services returns attachments for searches that are performed by users in Work Center. If your SBM item attachments are stored in the database, Work Center will access the database to return file attachments in search results, and no additional configuration is necessary in SBM Configurator. However, if your SBM item attachments are stored on the file system, you must provide the attachments directory and access information to SBM Common Services.
To configure attachment access information for SBM Common Services:
If you did not enter credentials in SBM System Administrator because the attachment directory is on the same server, select the check box to use the current Tomcat identity to access the attachments directory. If the attachments directory is located on a remote server, you must ensure that the current Tomcat identity has permissions to the directory.
Copyright © 2007–2018 Serena Software, Inc., a Micro Focus company. All rights reserved.