Reputation: 430
The problem:
I have created a search index for a blob store of HTML documents on Azure. I'm using Azure search to query the documents from this index.
What I would like to retrieve is the contents of the search index itself. That is I want to retrieve the entire inverted index.
What I have tried:I have inspected the API docs and understand that I can retrieve the index definition with the Get Index operation, get individual documents, and see a sample token with the Analyze API, but do not see a way to retrieve the actual inverted search index.
Is it possible to achieve this?
Upvotes: 3
Views: 3628
Reputation: 329
Azure Search does not currently offer a way to retrieve the actual search index. If you are trying to do something like retrieve term frequencies you will have to implement that yourself using other Azure features like the Analyze API.
You can cast your vote here to show support for this feature.
Upvotes: 1
Reputation: 8135
To see the individual documents, you can use the Azure Search REST APIs for Search and Lookup or you can use the Search Explorer that is accessible from the Azure Search resource.
If you are looking at understanding how Azure Search tokenizes the documents, use the Analyze API to send sample text and see how your content is being tokenized.
Upvotes: 1
Reputation: 1972
Search and Lookup APIs are the way to retrieve documents from your Azure Search index. If you meant being able to see the content of the inverted index, the closest thing is the Analyze API that allows you to inspect what searchable terms are extracted for any input string.
Upvotes: 1