SearchIndexerIndexProjectionSelector interface
Description for what data to store in the designated search index.
Properties
mappings | Mappings for the projection, or which source should be mapped to which field in the target index. |
parent |
Name of the field in the search index to map the parent document's key value to. Must be a string field that is filterable and not the key field. |
source |
Source context for the projections. Represents the cardinality at which the document will be split into multiple sub documents. |
target |
Name of the search index to project to. Must have a key field with the 'keyword' analyzer set. |
Property Details
mappings
Mappings for the projection, or which source should be mapped to which field in the target index.
mappings: InputFieldMappingEntry[]
Property Value
parentKeyFieldName
Name of the field in the search index to map the parent document's key value to. Must be a string field that is filterable and not the key field.
parentKeyFieldName: string
Property Value
string
sourceContext
Source context for the projections. Represents the cardinality at which the document will be split into multiple sub documents.
sourceContext: string
Property Value
string
targetIndexName
Name of the search index to project to. Must have a key field with the 'keyword' analyzer set.
targetIndexName: string
Property Value
string