Comments (7)
Hi @willvelida, According to this documentation, you can set the executionEnvironment
to private
within the indexer. Similarly, in the SDK, you can achieve this functionality by setting the ExecutionEnvironment property within the IndexingParametersConfiguration inside the indexer. Below is an example of how you can use this:
SearchIndexer indexer = new SearchIndexer("indexerName", "dataSourceConnectionName", "indexName")
{
Parameters = new IndexingParameters
{
IndexingParametersConfiguration = new IndexingParametersConfiguration
{
ExecutionEnvironment = IndexerExecutionEnvironment.Private
}
}
// Add any other necessary properties here
};
SearchIndexerClient indexerClient = new SearchIndexerClient(endpoint, credential);
await indexerClient.CreateIndexerAsync(indexer);
This code snippet demonstrates setting the execution environment to "Private" within the IndexingParametersConfiguration
of the SearchIndexer
object. Feel free to adjust it according to your specific requirements!
from azure-sdk-for-net.
Thank you for your feedback. Tagging and routing to the team member best able to assist.
from azure-sdk-for-net.
Hi @willvelida. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text "/unresolve" to remove the "issue-addressed" label and continue the conversation.
from azure-sdk-for-net.
Hi @willvelida, According to this documentation, you can set the
executionEnvironment
toprivate
within the indexer. Similarly, in the SDK, you can achieve this functionality by setting the ExecutionEnvironment property within the IndexingParametersConfiguration inside the indexer. Below is an example of how you can use this:SearchIndexer indexer = new SearchIndexer("indexerName", "dataSourceConnectionName", "indexName") { Parameters = new IndexingParameters { IndexingParametersConfiguration = new IndexingParametersConfiguration { ExecutionEnvironment = IndexerExecutionEnvironment.Private } } // Add any other necessary properties here }; SearchIndexerClient indexerClient = new SearchIndexerClient(endpoint, credential); await indexerClient.CreateIndexerAsync(indexer);This code snippet demonstrates setting the execution environment to "Private" within the
IndexingParametersConfiguration
of theSearchIndexer
object. Feel free to adjust it according to your specific requirements!
Hey @ShivangiReja, thanks for getting back to me! Where can I raise an issue to update the documentation that shows this code snippet? I think that would be helpful for other developers :)
from azure-sdk-for-net.
@willvelida - API documentation already includes the IndexerExecutionEnvironment.Private Property. If you are referring to the sample documentation, we do have a sample that demonstrates how to configure the IndexingParametersConfiguration
properties here.
from azure-sdk-for-net.
@ShivangiReja - that doc isn't in the most accessible place. Could we not add to tab in this document to show the C# example alongside the JSON?
from azure-sdk-for-net.
@willvelida - This documentation is for Azure Search service and it contains the code snippets demonstrating the usage of REST API with JSON payloads. While the focus of the documentation is on showcasing the usage of REST API with JSON bodies, it doesn't include specific samples for .NET SDK or other languages like Python, Java, etc. Due to the support for multiple languages through SDKs in the Azure Search service, it's not feasible to include samples for every language within the documentation. However, if you're looking for samples in a particular language such as .NET, a separate link is provided (here) where you can find relevant examples.
from azure-sdk-for-net.
Related Issues (20)
- [FEATURE REQ] Support IsStored for any string field in Azure AI Search HOT 2
- [BUG]Failed to download PEM certificate from azure.keyvault with failure "The provided key does not match the public key for this certificate" HOT 2
- [FEATURE REQ] Tokens usage not present in embedding object HOT 3
- Add BlobBatch ability to delete individual blob snapshots HOT 1
- Can I rely on AzureWebJobs:extensions:ServiceBus options? HOT 4
- ServiceBus trigger session issues causing active message count to spike. Trigger falls behind for ~ 1.5 hour HOT 4
- Azure.Identity logging level should control the underlying log level of MSAL.NET
- [BUG] No way to specify local VS credentials for GraphServiceClient HOT 2
- Scopes not being included by default in the OpenTelemetry distro may be insufficiently documented HOT 2
- ManagedIdentityCredential authentication failed: Response from Managed Identity was successful, but the operation timed out prior to completion[QUERY] HOT 2
- [BUG] One of BlobContainerClient constructor overloads does not set clientSideEncryptionOptions HOT 1
- [QUERY] How can we use configuration when registering an Azure client HOT 6
- [BUG] Can't get token to connect to Azure Storage in GovCloud from Visual Studio HOT 2
- Azure AI Open AI Assistant Modify Assistant cannot remove last file [BUG] HOT 2
- Should not check response body when a DELETE LRO return 204 HOT 9
- REST API version? HOT 1
- https://www.facebook.com/nickryanpedralba?mibextid=LQQJ4d HOT 2
- [BUG] Azure.Monitor.OpenTelemetry.Exporter EventId duplicate key exception causes LogRecord to be dropped HOT 2
- [BUG] Azure.Monitor.OpenTelemetry.AspNetCore package HOT 3
- Add extension method TryGetSystemEvent to Azure.Messaging.EventGrid.SystemEvents prior to GA
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-sdk-for-net.