SearchIndexerKnowledgeStore Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. SearchIndexerKnowledgeStore
- com.
Implements
public final class SearchIndexerKnowledgeStore
implements JsonSerializable<SearchIndexerKnowledgeStore>
Definition of additional projections to azure blob, table, or files, of enriched data.
Constructor Summary
| Constructor | Description |
|---|---|
| SearchIndexerKnowledgeStore(String storageConnectionString, SearchIndexerKnowledgeStoreProjection[] projections) |
Creates an instance of Search |
| SearchIndexerKnowledgeStore(String storageConnectionString, List<SearchIndexerKnowledgeStoreProjection> projections) |
Creates an instance of Search |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Search |
fromJson(JsonReader jsonReader)
Reads an instance of Search |
|
Search |
getIdentity()
Get the identity property: The user-assigned managed identity used for connections to Azure Storage when writing knowledge store projections. |
|
List<Search |
getProjections()
Get the projections property: A list of additional projections to perform during indexing. |
| String |
getStorageConnectionString()
Get the storage |
|
Search |
setIdentity(SearchIndexerDataIdentity identity)
Set the identity property: The user-assigned managed identity used for connections to Azure Storage when writing knowledge store projections. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
SearchIndexerKnowledgeStore
public SearchIndexerKnowledgeStore(String storageConnectionString, SearchIndexerKnowledgeStoreProjection[] projections)
Creates an instance of SearchIndexerKnowledgeStore class.
Parameters:
SearchIndexerKnowledgeStore
public SearchIndexerKnowledgeStore(String storageConnectionString, List<SearchIndexerKnowledgeStoreProjection> projections)
Creates an instance of SearchIndexerKnowledgeStore class.
Parameters:
Method Details
fromJson
public static SearchIndexerKnowledgeStore fromJson(JsonReader jsonReader)
Reads an instance of SearchIndexerKnowledgeStore from the JsonReader.
Parameters:
Returns:
Throws:
getIdentity
public SearchIndexerDataIdentity getIdentity()
Get the identity property: The user-assigned managed identity used for connections to Azure Storage when writing knowledge store projections. If the connection string indicates an identity (ResourceId) and it's not specified, the system-assigned managed identity is used. On updates to the indexer, if the identity is unspecified, the value remains unchanged. If set to "none", the value of this property is cleared.
Returns:
getProjections
public List<SearchIndexerKnowledgeStoreProjection> getProjections()
Get the projections property: A list of additional projections to perform during indexing.
Returns:
getStorageConnectionString
public String getStorageConnectionString()
Get the storageConnectionString property: The connection string to the storage account projections will be stored in.
Returns:
setIdentity
public SearchIndexerKnowledgeStore setIdentity(SearchIndexerDataIdentity identity)
Set the identity property: The user-assigned managed identity used for connections to Azure Storage when writing knowledge store projections. If the connection string indicates an identity (ResourceId) and it's not specified, the system-assigned managed identity is used. On updates to the indexer, if the identity is unspecified, the value remains unchanged. If set to "none", the value of this property is cleared.
Parameters:
Returns: