SearchIndexerIndexProjectionSelector Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. SearchIndexerIndexProjectionSelector
- com.
Implements
public final class SearchIndexerIndexProjectionSelector
implements JsonSerializable<SearchIndexerIndexProjectionSelector>
Description for what data to store in the designated search index.
Constructor Summary
Constructor | Description |
---|---|
SearchIndexerIndexProjectionSelector(String targetIndexName, String parentKeyFieldName, String sourceContext, List<InputFieldMappingEntry> mappings) |
Creates an instance of Search |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Search |
fromJson(JsonReader jsonReader)
Reads an instance of Search |
List<Input |
getMappings()
Get the mappings property: Mappings for the projection, or which source should be mapped to which field in the target index. |
String |
getParentKeyFieldName()
Get the parent |
String |
getSourceContext()
Get the source |
String |
getTargetIndexName()
Get the target |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
SearchIndexerIndexProjectionSelector
public SearchIndexerIndexProjectionSelector(String targetIndexName, String parentKeyFieldName, String sourceContext, List
Creates an instance of SearchIndexerIndexProjectionSelector class.
Parameters:
Method Details
fromJson
public static SearchIndexerIndexProjectionSelector fromJson(JsonReader jsonReader)
Reads an instance of SearchIndexerIndexProjectionSelector from the JsonReader.
Parameters:
Returns:
Throws:
getMappings
public List
Get the mappings property: Mappings for the projection, or which source should be mapped to which field in the target index.
Returns:
getParentKeyFieldName
public String getParentKeyFieldName()
Get the parentKeyFieldName property: 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.
Returns:
getSourceContext
public String getSourceContext()
Get the sourceContext property: Source context for the projections. Represents the cardinality at which the document will be split into multiple sub documents.
Returns:
getTargetIndexName
public String getTargetIndexName()
Get the targetIndexName property: Name of the search index to project to. Must have a key field with the 'keyword' analyzer set.
Returns:
toJson
Applies to
Azure SDK for Java