Elastic search installation

In order for being able to use the Indexed search that is built on a platform from Elastic search you need to do some installation work:

1.  Start by deciding on what network server you want use for the installation. We recommend that you do not make the search installation on the same server where NSP resides as the search server demands quite some resources.

2.  Install the latest version of Java JDK on the chosen server.

3.  Using an MSI-package from Elastic, see below, you install a database that holds the Indexed content of what you in NSP mark for search access. It also installs a search engine on the server.

In one of the MSI-steps you have to define what ports to use. These ports are to be set in NSP database global settings keys (see next list items).

4.  Activate the function in NSP using the following scripts:

 

exec app.spSetGlobalSetting @key ='FullTextSearchServerType' , @value = 'elastic'

 

exec app.spSetGlobalSetting @key ='FullTextSearchServerUrlWithPort' , @value = 'Searchpath:Portnr'

Or, if Elastic Search and NSP is installed on same server, enter this value instead:

 exec app.spSetGlobalSetting @key ='FullTextSearchServerUrlWithPort' , @value = 'http://localhost:Portnr'

 

exec app.spSetGlobalSetting @key ='ElasticSearchEnabled' , @value = 'true'

 

Note that when you have done changes in the global settings you have to perform a recycle of NSP application pool or empty NSP system cache to make the changes take effect.