Home > Enterprise >  Azure Search set disableOrderByHighWaterMarkColumn with .NET C# API
Azure Search set disableOrderByHighWaterMarkColumn with .NET C# API

Time:07-26

I have a service that manages all of the indexes/indxers I use for Azure Cognitive Search, and within that I am attempting to set disableOrderByHighWaterMarkColumn to true when creating/updating an indexer.

While I do see examples in the official docs for an HTTP request to set that field, I'm not seeing any parameter anywhere (including the Parameters option under the SearchIndexer object) that can be set to update that value.

Does nadisableOrderByHighWaterMarkColumn` through the C# API? I have the latest Azure.Search.Documents package installed.

CodePudding user response:

You would need to add it as a custom key under the SearchIndexer.Parameters.IndexingParametersConfiguration property.

If for some reason that doesn't work as expected, then it is a bug with the .NET SDK that I would suggest you submit as an issue against the official Github repository.

  • Related