0

I was able to successfully use a skillset (keyword extraction) for a column using an Indexer importing data from a Cosmos DB collection. However I want to eventually use the .NET SDK's DocumentsOperationsExtensions's IndexAsync() method to add documents to the index ( as I already have a change feed listener on the Cosmos DB collection and want to leverage that instead of running a periodic indexer querying Cosmos DB).

But I don't see how I can specify the skillset to be used when adding the document to the index using the SDK approach (or even the REST API one - https://learn.microsoft.com/en-us/rest/api/searchservice/addupdate-or-delete-documents). Is this a supported scenario? Or are we obligated to use an Indexer if we have to leverage skillsets?

Roman Pokrovskij
  • 9,449
  • 21
  • 87
  • 142

1 Answers1

1

Or are we obligated to use an Indexer if we have to leverage skillsets?

Correct. Skillsets and cognitive search functionality are only available via the Indexer mechanism (as stated in the docs here).

They are not available via the Index API (SDK or REST). FYI - you can still perform Indexer and Skillset management (if you do choose to go that route) via the preview SDK

Arvind - MSFT
  • 561
  • 2
  • 6
  • Is there a plan to add a way specify a skillset when adding documents using Document Operations SDK/ REST API? – Rajalakshmi Swaminathan Feb 06 '19 at 05:44
  • 1
    Not currently in our plans yet unfortunately. Please do add it to the user voice page for Azure search to indicate your request: https://feedback.azure.com/forums/263029-azure-search – Arvind - MSFT Feb 07 '19 at 21:27