Product Selector

Fusion 5.12
    Fusion 5.12

    Solr IndexerIndex pipeline stage configuration specifications

    Table of Contents

    A Solr Indexer stage transforms a Managed Fusion PipelineDocument into a Solr document and sends it to Solr for indexing into a collection.

    A PipelineDocument object contains fields which take as their values either a string or list of strings. Solr fields have a rich variety of types. The Solr Indexer stage transforms PipelineDocument field values into Solr document fields. The Solr Indexer stage can be configured so that it will try to ensure that all document fields are valid Solr fields.

    This feature is convenient, but offers very little control over how fields and field values are transformed, especially with respect to dates. A Date Parsing Index stage offers greater control over date values. In a similar vein, Lucidworks recommends that you only use safe characters (a-z, _ ) in field names when using a Solr Indexer stage. Special characters will be automatically converted to an underscore.

    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.

    This stage sends documents to Solr

    skip - boolean

    Set to true to skip this stage.

    Default: false

    label - string

    A unique label for this stage.

    <= 255 characters

    condition - string

    Define a conditional script that must result in true or false. This can be used to determine if the stage should process or not.

    enforceSchema - boolean

    Default: true

    fieldsList - boolean

    Adds a multi-valued field to the document, _lw_fields_ss, which lists all fields that are being sent to Solr

    Default: true

    dateFormats - array[string]

    params - array[object]

    object attributes:{key required : {
     display name: Parameter Name
     type: string
    }
    value : {
     display name: Parameter Value
     type: string
    }
    }

    bufferDocsForSolr - boolean

    Default: true

    bufferSize - integer

    If buffering documents to Solr, keep at most this many documents in the buffer before sending to Solr. If left empty, the default value for this Search Cluster will be used.

    bufferFlushInterval - integer

    If buffering documents to Solr, keep documents in the buffer for at most this long before sending to Solr. If left empty, the default value for this Search Cluster will be used.

    allowBlacklistedRequestParameters - boolean

    Allow commit=true and optimize=true to be passed to Solr when specified as request parameters coming into this pipeline. Note that document commands specifying commit or optimize will still be respected even with this setting set to false.

    Default: false

    unmapped - Unmapped Fields Mapping

    source - string

    The name of the field to be mapped.

    target - string

    The name of the field to be mapped to.

    operation - string

    The type of mapping to perform: move, copy, delete, add, set, or keep.

    Default: copy

    Allowed values: copymovesetadddeletekeep