Questions tagged [azure-cognitive-search]

Azure Cognitive Search is a fully managed Azure Cloud service that offers rich full-text indexing and search. Allows you to add search facility to both existing and new application either Line of Business application, public facing websites or mobile applications using REST API or .NET SDK.

1624 questions
4
votes
1 answer

How to delete specific document using "id" on Azure Search REST API?

I would like to know how to delete a specific document in an index of Azure Search. I would like to use "id" to delete a document by using the REST API. I have searched, but couldn't find out the way. { "@odata.context":…
Gon
  • 93
  • 1
  • 7
4
votes
1 answer

How to filter an empty array in Azure Search

I have documents which look like below: { "@search.score": 1, "id": "cbdcc14a-4eab-7ce2-8c47-34cba81df722", "salesforceRecordID": "0015B00000Rtz4QQAR", "ownerType": "ABCS", "productDescription": "BCM WKSTN…
Santosh
  • 325
  • 5
  • 19
4
votes
1 answer

Create datasource in azure search returns 403 Forbidden

I have a search service running on azure in a free tier. On this service I already have a datasource, and indexer and an index defined. I'd like to add another datasource (and index + indexer). When I do this (using postman) I get 403 Forbidden…
Zelter Ady
  • 6,266
  • 12
  • 48
  • 75
4
votes
1 answer

Escape single quotes in Azure Search query

I am having a single quote in the data in filter condition. Example: David O'Neil. So If we have give this in Search Explorer as, *&$count=true&$filter=Name eq 'David O'Neil' How can we escape that single quote in the filter. Update 1: If we use…
Arron
  • 1,134
  • 2
  • 13
  • 32
4
votes
1 answer

Why can't ContinuationToken be used for paging in Azure Search API?

Reading the documentation for the Azure Search .NET SDK, I see that the ContinuationToken property is not supposed to used for pagination (this is the same as the @odata.nextLink and @search.nextPageParameter properties in the REST API). Note that…
Stewart
  • 1,659
  • 4
  • 23
  • 35
4
votes
1 answer

Azure Search search.in() filter not working

I have an Azure Search index with a filterable field called aReportNumber (an int). From the portal index fields: "aReportNumber Edm.Int32 Filterable, Retrievable" I'm using API version 2016-09-01-Preview via Microsoft.Azure.Search 4.0.1-preview - I…
Chris Hewitt
  • 43
  • 1
  • 7
4
votes
0 answers

AzureSearch- Error on detecting index schema from data source

I created a data source on Azure Search via rest API. I use the API instead of portal, as I have a rowversion data type that isnt handled yet on portal. I am able to view the data source on portal When I try to import the data source into an…
user7995357
  • 151
  • 10
4
votes
1 answer

Using Enums in Azure Search Documents

It was my understanding that if you have an enum in a search document, it would be converted to an int. Unless I am doing something wrong, this does not seem to be happening and the only way I can get this to work is by converting the enum to a…
Jason H
  • 4,996
  • 6
  • 27
  • 49
4
votes
1 answer

Why is it possible to get duplicate results from Azure Search when paging?

Sometimes when using Azure Search's paging there may be duplicate documents in the results. Here is an example of a paging request: GET /indexes/myindex/docs?search=*$top=15&$skip=15&$orderby=rating desc Why is this possible? How can it happen? Are…
Bruce Johnston
  • 8,344
  • 3
  • 32
  • 42
4
votes
3 answers

Indexing HTML content from Azure database with Azure Search

We store some CMS content in our Azure database, and need to index some HTML content from our database. What are best practices for indexing this in Azure Search, such that it only indexes content, and not the HTML? Or, such that the index…
Jerad Rose
  • 15,235
  • 18
  • 82
  • 153
4
votes
1 answer

Error while adding new documents to Azure Search index

I have an index with a couple of fields of type Edm.String and Collection(Edm.String). I want to have another index with the same fields plus another field of type Edm.Double. When I create such an index and try to add the same values (plus the…
halileohalilei
  • 2,220
  • 2
  • 25
  • 52
4
votes
2 answers

Azure Search SDK null field not set on Merge action

I'm using Microsoft.Azure.Search version 3.0.1, I'm trying the following: // subset of my index's fields private class SyncFields { public string Id { get; set; } public DateTimeOffset? ApprovedOn { get; set; } public DateTimeOffset?…
Aaron B
  • 859
  • 11
  • 17
4
votes
0 answers

Azure Search - Creating a dedicated search table in SQL, for using with an Indexer

I'm building an Assets search engine. The data I need to be indexed for each assets is scattered into multiples tables in the SQL database. Also, there is many events in the application that will trigger update to the asset indexed fields (in…
Guillaume Morin
  • 3,910
  • 6
  • 25
  • 40
4
votes
2 answers

Azure Search RetryPolicy

We are using azure search and need to implement a retry stratgey as well as storing the Ids of failed documents as described. Is there any documentation/samples on how to implement a RetryPolicy strategy in Azure Search. Thanks
user2981411
  • 859
  • 12
  • 34
4
votes
3 answers

Adding index creation/configuration in a Azure search ARM Template

There is ways to create a Azure Search Service via ARM template (Example: https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/101-azure-search-create/azuredeploy.json). What I want to know is there a way to define a specific…
disco
  • 1,496
  • 12
  • 23