Help > Indexes > Indexing Rules > Scripting Rules > Scripting Rules Wizard

Scripting Rules Wizard

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.

Scripting Indexing Wizard

Perceptive Enterprise Search supports different types of scripting rules, this wizard will help you create the right one for the job.

Choose the type of scripting rule to create, from:

  • Blank Script
    Creates an empty script with the function stubs in place, you just need to fill in the blanks.
  • File Rules
    Creates a script designed to enumerate a set of files to pass to the indexer. The files do not need to be physical files on disk, but can be virtually created from sources such as databases.
  • Metadata Provider
    A metadata provider allows you to "inject" metadata for each document. The metadata can exists anywhere, it does not need to be embedded in the document itself.
  • Create from a Template
    Perceptive Enterprise Search provides you a collection of script samples that you can use as a basis for your own script.

Click Next.

Script Templates

If you selected Create from a Template, a list of samples will be shown for you to chose from. Select the template you wish to base your scripting rule on.

Click Next.

Script Details

You must provide a unique name for your scripting rule, the name will be used to identify the scripting rule at indexing time.

The description is for reference only, you can add any text you wish.

Click Next.

Confirmation

Review the settings, if you need to make changes, click Back.

Click Finish to create the rule.