Conversion scripts are hooks in the conversion process that allows administrators to fully customize the way documents are indexed.
There are two types of conversion scripts:
- Preconversion scripts are executed before a conversion occurs (see Preconversion Scripts).
- Postconversion scripts are executed after a conversion occurs (see Postconversion Scripts).
It is possible to execute a conversion script for every document of a particular source (see Applying a Source Conversion Script) or of every source of the index (see Applying a Global Conversion Script).
Possibilities are vast when using conversion scripts. The following lists examples of tasks performed using scripting objects:
- Override the language of the document;
- Override or modify the content of the document;
- Override or modify the HTML rendering of the document;
- Add or modify metadata to the document;
- Update the permissions of the document;
- Reject documents;
- Modify the ranking value of a document.
Referring to Samples