WorkflowSearchOptions: {
    data?: StringStringType;
    index?: string;
    prefix?: string[];
    schema?: WorkflowSearchSchema;
}

Type declaration

  • Optionaldata?: StringStringType

    Additional data as a key-value record

  • Optionalindex?: string

    FT index name (myapp:myindex)

  • Optionalprefix?: string[]

    FT prefixes (['myapp:myindex:prefix1', 'myapp:myindex:prefix2'])

  • Optionalschema?: WorkflowSearchSchema

    Schema mapping each field. Each field is a key-value pair where the key is the field name and the value is a record of field options. If the fieldName is provided, it will be used as the indexed field name. If not provided key will be used as the indexed field name with an underscore prefix.