Questions tagged [azure-search-.net-sdk]
260 questions
1
vote
0 answers
scoring profile in Azure search
I tried creating a Scoring Profile in the Azure Search using the '.Net SDK' but it is not reflecting on the Azure portal. It is giving me Bad Request error at this line in the code.
results = indexClient.Documents.Search(searchText,…

Manasvi Srivastava
- 11
- 1
1
vote
1 answer
Azure search FindFailedActionsToRetry returning empty actions?
I was testing the FindFailedActionsToRetry function on c# client for azure search and I am not getting expected results.
In my function I try to index the batch and i have a try-catch that handles IndexBatchException.
Inside the catch I do:
var…

Kevin Cohen
- 1,211
- 2
- 15
- 22
1
vote
2 answers
Azure Search Index - Find the list of items
We are using Search Index to run one of our API. The data to the index is populated using the Azure functions which pull data from the database. We could see that the number of records in the database and the Search Service is different. Is there…

Silly John
- 1,584
- 2
- 16
- 34
1
vote
0 answers
IndexBatch.MergeOrUpload is not updating Azure Search Index but Indexer is
The Azure Search service has 4 indexes and out of that 3 indexes are configured to Azure SQL View data source with high water mark change tracking policy. The Indexer runs every 30 mins.
There are some scenarios where we need to Merge & Upload some…

mahesh_ing
- 419
- 1
- 3
- 10
1
vote
1 answer
Managing Azure Search 503
Is there a well-known pattern to manage the ServiceUnavailable ?
I'm NOT so happy with something like this
catch (CloudException e) when (System.Net.HttpStatusCode.ServiceUnavailable.Equals(e.Response?.StatusCode))
{
var howMuchWait =…

Fabio Maulo
- 427
- 4
- 3
1
vote
1 answer
Azure Search: boost results that contains word
I have an airports database in Azure Search which upon searching I would like to boost results with those airports that contains the word "international" in the airport name.
given 2 results that have the same score, i would like to boost the one…

icube
- 2,578
- 1
- 30
- 63
1
vote
1 answer
Is it possible to Push (using API) and Pull (using indexer) data into the same Index with Azure Search?
I have an index in Azure Search lets says called Hotels.
I have a hotels table in Azure SQL that has the same schema that is a copy of the hotels index found in Azure Search.
I push from my back-end to Azure SQL table and Azure Search at…

Peter J
- 13
- 3
1
vote
2 answers
Azure Search API C# Fuzzy / Misspellings Not Working As Expected
I have an index set up with about 1000 items in it. I am doing the following API call to get the results back.
var parameters = new SearchParameters
{
Select = new[] { "pageTitle", "pageUrl", "metaDescription" },
…

YodasMyDad
- 9,248
- 24
- 76
- 121
1
vote
1 answer
Azure Search - query within a specific field using the .Net SDK
We are attempting to build our API for our Azure Search index using the .Net SDK for Azure Search. We are trying to write the equivalent code for the searchFields parameter of the query found in the Rest API syntax for Azure Search (found via this…

Stpete111
- 3,109
- 4
- 34
- 74
1
vote
1 answer
Azure Search SDK for Blob Storage - Deleting Files
I have created an application that lists all the documents in an Azure storage container, and lets the user mark specific files to delete.
This is an Azure Search application, so the process is to add a "deleted" metadata property to the selected…
user5886152
1
vote
1 answer
Filter on the list of facet values
I have a 'keywords' field in my index, which is Facetable, and of type Collection(Edm.String).
In my UI I show a facet for this fields which returns the top 10 keywords.
The total number of distinct keywords value may be many hundreds.
So I would…

Guillaume Morin
- 3,910
- 6
- 25
- 40
1
vote
1 answer
Implications of using AzureSearch SDK with static Dictionary of 30-40 ISearchIndexClients
I have an ASP.NET Web Application that uses 30-40 different search indexes across 5-6 search services (various clients are in different pricing tiers).
Currently I am marshaling a new instance of the ISearchServiceClient followed by the appropriate…

INNVTV
- 3,155
- 7
- 37
- 71
1
vote
1 answer
Azure SuggestAsync map to POCO
i am using Azure search sdk 3.0.1
with syntax similar to below, where T is the POCO object , and i want List returned
await indexClient.Documents.SuggestAsync(input.Term, suggesterName,
…

Justin Homes
- 3,739
- 9
- 49
- 78
0
votes
0 answers
Azure cognitive search config issue
I have created an index with 10k items.
My search URL looks like this
https://{mysearchname}.search.windows.net/indexes/{myindexname}/docs?api-version=2021-04-30-Preview&search=28597~&searchMode=any&queryType=full
The result I am expecting is
{
…

Neil
- 641
- 1
- 7
- 21
0
votes
1 answer
How to return complete search results using Azure search SDK v11?
I have a web app API which using ACS V11 SDK to search index documents and return the search results. Bellow is simplified code in my API interface:
public async Task> SearchIndexDocumentsAsync(
[FromBody]…

Youxu
- 1,050
- 1
- 9
- 34