Help > Indexes > Indexing Rules > Scripting Rules

Scripting Rules

Perceptive Enterprise Search scripts provide you with an way to extend the indexer using scripting languages such as Microsoft® Visual Basic® Scripting Edition (VBScript) and Microsoft® JSCRIPT, adding the flexibility to create advanced file indexing rules, index foreign file systems, or index documents not currently handled natively by the Perceptive Enterprise Search engine.

Perceptive Enterprise Search scripts allow you to extended the engine, allowing you to:

The Perceptive Enterprise Search engine loads your script looking for particular methods, dependent on purpose of your script. Your script is loaded once, and kept loaded. You may include global variables to keep state in your script.

Perceptive Enterprise Search scripts are stored per index, in the ISYSSCRIPT.XML file. The ISYSCRIPT.XML is an XML file that stores the one or more scripts for any given index. You can modify this file by hand, or use the built-in wizard.

Creating a new index

The indexing wizard allows you to create a new scripted index, to do so:

  1. Navigate the Indexes page of the Administration Console.
  2. Click the New Index button on the toolbar.
  3. Select Other Index Types and click the Next button.
  4. Choose the Scripted Index you wish to index and click the Next button.
  5. Enter a name for the next index and click the Next button.
  6. The Scripting Rule Wizard will be shown.

Adding a scripting to an existing index

You can add a scripting rule to existing indexes.

  1. Open the DMS rule section for your index, this is accessible from:
    • Indexes > [IndexName] > Scripting Rules
    • User Indexes > [User] > Indexes > [IndexName] > Scripting Rules
  2. Click the New Scripting Rule button on the toolbar.
  3. The Scripting Rule Wizard will be shown.

 

In this section

Scripting Rules Wizard  
File Rules  
Metadata Injection  
Templates  
Utility Functions  
Utility Classes