Azure search full text suggestion

Category: azure search

Question

Nicolas Roux on Tue, 03 May 2016 14:08:14


Hi,

I am using Azure Search on document containing title and content, which is long text.

I would like to add suggestions to help user to complete terms; when user starts to type some search, suggestions will provide the list of words that match its search.

Do I need to build a special index with the list of words of my document, or are there any built-in feature in Azure Search ? I have tried to implement this case with suggestions, but i can only get the content or title property of my document, not the term matched.

Thanks for any help,

Replies

Nate Ko on Tue, 03 May 2016 16:02:56


Hello,

Thank you for using Azure Search. Our Suggestions API is meant to be used for finding target documents when given a partial input to a field and returns a list of matched fields with corresponding document ids. The API is not suitable for auto-completing a partial input whose response is to be used for a search after. For the latter, we currently do not have a built-in solution and recommend creating a special index for typeahead currently.

It's a feature that's been asked frequently and we are looking into various options to add it. You can use our Uservoice channel to add and/or help us prioritize: https://feedback.azure.com/forums/263029-azure-search/category/86072-query-search

Hope this helps. Let me know if you have any further questions.

Nate

Nicolas Roux on Wed, 04 May 2016 10:36:08


Hello Nate,

Thank you for your reply, I will implement it on my own.

I did not found any Uservoice entry about this feature, is there any ?

Nicolas