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.
Questions tagged [azure-cognitive-search]
1624 questions
6
votes
2 answers
azure search. What if I have a lot of facets
in a commercial application it is not uncommun to have hundreds facets. Of course not all products are flaged with all of them.
But when searching I need to add a facet querystring parameter that list all the facets that I want to get back. As I…

Frédéric De Lène Mirouze
- 545
- 5
- 25
5
votes
1 answer
Azure Search Fails to Return Expected Result When No OR Multiple SearchFields Are Defined
I have a fairly basic Azure Search index with several fields of searchable string data, for example [abridged]...
"fields": [
{
"name": "Field1",
"type": "Edm.String",
"facetable": false,
"filterable": true,
"key":…

James Law
- 6,067
- 4
- 36
- 49
5
votes
1 answer
Azure Search: Group By or Distinct in OData context / Query?
Using Azure Search service I need to be able to group by or use distinct by a field in the query.
Use case:
My business model has the concept of "resources" which have >=1 revisions. 1 revision is 1 document in an Azure index. I need to simulate…

Filip
- 63
- 1
- 10
5
votes
1 answer
Returning partial matches in Azure Search
A while ago I set up a search index for a web application. One of the requirements was to return partial matches of the search terms. For instance, searching for Joh should find John Doe. The most straightforward way to implement this was to append…

aochagavia
- 5,887
- 5
- 34
- 53
5
votes
2 answers
Search using StartsWith in Azure Search
I have scenario where I have to search the Vendors using Vendor Names using Azure Search. For Example Below is the List Of Vendors.
Infosys Technologies Limited
Infosys BPM Limited
Infor Solution
Infosys Corporate Technologies
Dell Computers
First…

Atanu Sarkar
- 195
- 11
5
votes
1 answer
Azure Search Query causes a bad response 400 when it contains an apostrophe
I have two Facets I'm using for filtering via Azure Search: Revit's 2014 and Revit 2016 but both behave differently in the query.
Error 400 (Bad Request) when a query with "Revit's" is passed:
(search.in(Application,…

izSaad
- 579
- 6
- 25
5
votes
2 answers
Retrieve faceted results with non default count value(10) from Azure Search
I am using the Azure index for an index search. My objective behind the Index search is to retrieve the Unique records depend upon some unique parameter say System_ID and I started using facets feature for this, but when using it I am unable to…

Tukaram Patil Pune
- 789
- 6
- 13
5
votes
1 answer
Azure Search's search.in doesn't return results when using spaces
I'm calling Azure Search from my c# application.
When I'm trying to filter on the categories of my products it only gives me results when the category doesn't contain any spaces.
search.in(ProductCategory,'Garden') //…

SEG.Veenstra
- 718
- 1
- 7
- 18
5
votes
2 answers
How can I use AzureSearch with wildcard
I want to search for a field that has the name "14009-00080300", and I want to get a hit when searching only on a part of that, for example "14009-000803".
Using this code I dont get any hits:
{
"search": "\"14009-000803\"*",
"count":true,
…

Flubber
- 51
- 1
- 6
5
votes
1 answer
Azure Search - Smaller Facet Counts Not Returning From Index
I am using Azure Search indexing for creating a faceted search of products. I have around 5 facets to aid in filtering the list of displayed products.
One thing I have noticed is that if there are quite a lot of products listed for filtering down…

SurinderBhomra
- 2,169
- 2
- 24
- 49
5
votes
1 answer
How to get all results from azure search?
Currently I am creating an application where I need to call API for azure search. Calling this API :
https://.search.windows.net/indexes//docs/search?api-version=2016-09-01
Also providing all required parameters…

Deva
- 1,039
- 1
- 14
- 40
5
votes
1 answer
How to rename index in Azure Search
According to our business logic every night web job deletes index and creates new one and populates it. But lately we've noticed that populating index takes about one hour. So during this time we don't have any working index in production. So…

Volodymyr Gorodytskyi
- 482
- 4
- 18
5
votes
1 answer
What does this Azure Search indexing error mean? "The property 'x' does not exist on type 'search.documentFields'..."
The Exception I am getting is: The property 'documentType' does not exist on type 'search.documentFields'. Make sure to only use property names that are defined by the type.
I have googled this and still cannot figure out what is going on.
Here is…

Jason H
- 4,996
- 6
- 27
- 49
5
votes
1 answer
In Azure Search, how do I compare a datetime field to a datetime literal?
So i am trying to do a query on my Table storage using Azure search, the table is indexed.
See entity of table here
[SerializePropertyNamesAsCamelCase]
public class Asset : TableEntity
{
public Asset(){ }
public Asset(string name,…

Harry
- 3,333
- 3
- 18
- 28
5
votes
1 answer
How to do Azure search for text containing quotes(escape single quote)?
I have a Query for azure search as given below
results = indexClient.Documents.Search("", new SearchParameters { IncludeTotalResultCount = true, Filter = "(Provider eq 'Auction.com' or Provider eq 'Zeroiron' or Provider eq 'Gilbert'sYard')"…

hilda_sonica_vish
- 727
- 3
- 10
- 31