Enabling type-ahead search
Enable the type-ahead search feature using Elasticsearch in an HCL Connections™ deployment.
Before you begin
Verify that the server can connect to the Elasticsearch server and that SSL is configured.
About this task
You can configure type-ahead search using either the stand-alone Elasticsearch server or the Elasticsearch component of the Component Pack for Connections.
Procedure
-
Run the following SearchService administration command:
SearchService.createESQuickResultsIndex()
For information on running SearchService commands, see SearchService commands.
Attention: This step must complete successfully before you proceed to step 2. -
Update the LotusConnections-config.xml file in the Deployment Manager
profile configuration folder:
Add the following statement to the
<properties>
section of the file:<genericProperty name="quickResultsEnabled">true</genericProperty>
-
Update the search-config.xml file in the Deployment Manager profile
configuration folder:
Add the following statements to the
<propertySettings>
section:<property name="quickResults"> <propertyField name='quick.results.elasticsearch.indexing.enabled' value='true'/> <propertyField name='quick.results.solr.indexing.enabled' value='false'/> <propertyField name='quick.results.use.solr.for.queries' value='false'/> </property>
- Synchronize the nodes and then restart the servers or clusters that are running the Search and Common applications.