How Fields are Indexed
ESM indexes fields at multiple levels, the lowest level covering a limited number of fields. The scope of the search increases as the index level goes higher.
Indexed fields |
Index level |
Affected resources |
---|---|---|
Index only these fields: name, id, uri, description, type, disabled, lockedBy |
0 |
|
Index fields in level 0 plus additional fields such as an asset's IP address or host name. |
1 |
Asset |
Index all attributes associated with a resource. This level should satisfy most user requirements for text searches. |
2 |
All other resources except Asset |
Caution: Levels 3 and 4 are also supported and include relationships between resources. Increasing the index level may allow you to search deeper. However, the size of the index will increase and performance will be slow.
Default search level settings:
The default search index levels are defined as follows:
search.index.level=2
search.index.level.Asset=1
You can change the level for all resources or specific resources, as described in the following procedure.
To customize the search index level:
-
Refer to the instructions on editing the
server.properties
file in the ESM Administrator's Guide. -
To change the default of
1
for the Asset resource, insert the statement for the setting in this format:search.index.level.Asset=number
where number can be 0 or 2. For example, if you use 2, this means Asset will be indexed in the same way as all resources.
-
To change the default for all resources other than Asset, add the setting in this format:
search.index.level=number
where number can be 0 or 1.
-
To customize the level for specific resources, add one statement for each resource you want to customize. For example:
search.index.level.Resource=number
where Resource can be any resource, and number can be 0 or 1.