Questions tagged [azure-search-.net-sdk]
260 questions
1
vote
2 answers
Azure search services issue for white space and wildcard search of special characters
We have an application that allows the users to enter anything on the summary field. The users can type in any special characters like #$!@~ etc including white space and they request that they can search based on those special characters as well.…

Slow Snail
- 137
- 2
- 12
1
vote
1 answer
Azure Search - Cannot merge (with skill) data obtained from the KeyPhraseExtractionSkill
I am creating an indexer that takes a document, runs the KeyPhraseExtractionSkill and outputs it back to the index.
For many documents, this works out of the box. But for those records which are over 50,000, this does not work. OK, no problem; this…

Albert Herd
- 433
- 1
- 7
- 13
1
vote
1 answer
"Method not found:'System.Text.Json.JsonEncodedText System.Text.Json.JsonEncodedText.Encode(System.String,System.Text.Encodings.Web.JavaScriptEncoder)
When I try to use Azure.Search.Documents in Azure function, there is a Json exception thrown.
Environment summary : VS Code, HttpTrigger Azure Function:V3, netcoreapp3.1
The Complete Stack trace for the same is :
" at…

HIMANSHU SAHU
- 11
- 3
1
vote
1 answer
Azure search Analyzer/Filter issues
I have a complex identifier field that contains letters, numbers, white space, and special characters. I have been using the Keyword analyzer on this field, but having problems filtering results. Here is an example piece of data the field would…

Ryan
- 45
- 5
1
vote
1 answer
How to combine search string and filter using OR logic in Azure Search or use filter logic in the query string?
I have an index for which I need to combine search string with filter string using OR logic - so, it will return all matches for search string combined with all matches for filter
For example, I have a room complex type property with optional…

Mykola
- 197
- 1
- 10
1
vote
1 answer
Azure Search Hard Delete Policy for Indexer
It has been almost three years since there is feedback to implement a Hard-Delete policy for Azure Search indexers. https://feedback.azure.com/forums/263029-azure-search/suggestions/33939013-adding-hard-delete-policy-to-all-of-indexer Has there been…

Shaurin G
- 35
- 5
1
vote
1 answer
How to do pagination in Azure cognitive search
I am wondering if there is way to do pagination in cognitive search for very high volumes of data.
We have been using $top and $skip. so if the page size is 50, i want to go to page 2, the query would be $top=50&$skip=50.
This works fine until 1999…

Michael Scott
- 540
- 2
- 8
1
vote
1 answer
Azure search not behaving as expected for dashes
I'm having an issue when using azure search for the following example data set: abc-123-456, abc-123-457, abc-123-458, etc
When making the search for abc-123-456, I'd expected to only return one results but instead getting all results containing…

Johnson
- 11
- 2
1
vote
1 answer
Azure Search CreateIndexAsync fails with CamelCase field names FieldBuilder
Azure Search V11
I can't get this to work. But with the standard FieldBuilder the index is created.
private static async Task CreateIndexAsync(SearchIndexClient indexClient, string indexName, Type type)
{
var builder = new FieldBuilder
{
…

CRG
- 677
- 1
- 7
- 16
1
vote
1 answer
How to update fields by query in Azure search?
So i'm trying to update record in search index via api which works fine when i provide the index key, e.g.
{
"value": [
{
"@search.action": "merge",
"hotelid": "4618416",
"HotelName":"Gacc Capital"
}
…

CodeBox
- 13
- 5
1
vote
1 answer
azure cognitive search - geography point problem
I'm specifying a field as the following:
[SimpleField(IsFilterable = true, IsSortable = true)]
public Microsoft.Spatial.GeographyPoint Location { get; set; }
In my index, I can see it was created successfully and with the right content,…

Thiago Custodio
- 17,332
- 6
- 45
- 90
1
vote
1 answer
Azure.Search.Documents - Update or insert object with collections
I need to either add new document with children or add child to already existing parent.
The only way I know how to do it is ugly:
public async Task AddOrUpdateCase(params)
{
try
{
await UpdateCase(params);
}
catch…

Piotr Perak
- 10,718
- 9
- 49
- 86
1
vote
1 answer
Ordering by complex types in Azure Search .NET SDK?
So I have an index built with a parent/child structure like follows:
{
"Id": "13704",
"StreetNumber": "29",
"StreetName": "Fiction Road",
"PostalCode": "DD1 G33"
"CityName": "Fiction…

cameron2134
- 45
- 5
1
vote
1 answer
Azure Search - Search Highlight values break when the searchable value has a sentence separator
Hello Azure Search Team,
Sorry if the question seems big but I wanted to explain it with some data which might make the question look verbose.
I'm from PowerBI team and have a question based on the documentation of the Search Highlight feature that…

sadafle
- 13
- 3
1
vote
1 answer
Custom analyzer or multi language support for same field
I am trying to see possible solutions to deal with multi-language search functionality using Azure Cognitive Search. For the index below, the Name field has various language related options for Analyzer, but it supports only one language per…

Ramesh Bolla
- 372
- 1
- 3
- 21