Search analyzer configuration
Global search text analyzers create full text indexes and change how Neo4j searches for content to support the global search capability on the IP Catalog and the Resource Browser in the Create/Edit IP interface.
Analyzers are included when installing the iplm-server package or the server .run installation file. Analyzers are located in the piserver/plugins
directory. For a list of available analyzers, see Search analyzers.
Custom analyzers must be installed and enabled before they are available for use.
View a list of analyzers
If you have access to the database, use the following Cypher command to list all current analyzers:
call db.index.fulltext.listAvailableAnalyzers()
For example, the iplm-analyzer
is listed as iplm
.
Install and enable custom analyzers
iplm-analyzer is a custom analyzer that treats hyphen (-) characters as normal alphabetic character. The default analyzer, standard
, treats hyphens as white space, so words with hyphens are treated as multiple words. For example, a search for helix-iplm
searches for helix
or iplm
. With iplm-analyzer enabled, it searches for helix-iplm
.
Step 1: Install the analyzer
Neo4j installed with IPLM Server installation
If Neo4j is installed as part of the IPLM Server installation, a symbolic link is automatically created in the neo4j plugins
directory to the iplm-analyzer.jar file in the piserver install.
Skip to Step 2: Enable the analyzer.
Neo4j installed separately
If you install Neo4j separately using the Neo4j package, copy the iplm-analyzer.jar file in the /piserver/plugins
directory to the plugins
directory for each Neo4j module.
After the .jar file is copied to the Neo4j plugins directory, it is recognized the next time Neo4j starts.
Step 2: Enable the analyzer
After installation, enable the analyzer using the pi-admin settings
command. To learn more, Managing settings with pi-admin.