Skip to main content
For a complete description of the JavaScript Index stage and additional examples, see Custom JavaScript Stages For Index Pipelines.

Examples

Drop a document by ID
Format Date to Solr Date
Replace whitespace and newlines
Split the values in a field

Configuration

When entering configuration values in the UI, use unescaped characters, such as \t for the tab character. When entering configuration values in the API, use escaped characters, such as \\t for the tab character.