You can define a custom indexing mode by specifying metaparameter modifiers in a
style.plc
file. Metaparameter modifiers in the style.plc File
The style.plc
file has a number of metaparameter modifiers which are used to define indexing modes. These modifiers are a convenient way of setting a number of low-level parameters all at once. Given one metaparameter, the Verity engine calculates appropriate values for a number of low-level parameters. Using metaparameters, system performance can be tuned easily.
style.plc
file. A custom mode is defined in a style.plc
file by specifying a mode name and metaparameter modifiers. The name you specify must be unique.As a shortcut, you can use the
/inherit
modifier to inherit the metaparameters from one of the predefined modes. Then, you can optionally override individual metaparameters.
bulkload
mode.
- $control: 1
- policy:
- {
- mode: default
- /inherit=bulkload
- }
- $$
mode
name of default
. However, you can specify any predefined mode as the basis, using the /inherit
modifier, and you can also override any of the inherited mode's metaparameters by specifying your own values.
mymode
, that inherits all metaparameters of bulkload
with an override of typical_document_size=1000
.
- $control: 1
- policy:
- {
- mode: mymode
- /inherit=bulkload
- /typical_document_size=1000
- }
- $$
- $control: 1
- policy:
- {
- mode: mymode
- /inherit=bulkload
- mode: myothermode
- /inherit=bulkload
- /typical_document_size=1000
- }
- $$