azure-cognitive-search

Full text indexing on large files (more than 32k)

假如想象 提交于 2019-12-04 18:43:36
Is it possible to use Azure Search on blobs over 32kB size? I have around 500GB of text files stored as blobs on Azure. Average blob size is around 1MB. I was so exited to try Azure Search to have full text search on files. However, it looks like index field Edm.String cannot be more than 32kB. I couldn't find this exact limit anywhere, I extracted this information from error message in the portal. Is there any out of the box solution on Azure that I can use to add full text search functionality on Blobs? Does Azure team plan to remove 32kB field size? Eugene Shvets Two different limits are

Azure Search RetryPolicy

让人想犯罪 __ 提交于 2019-12-04 14:28:29
We are using azure search and need to implement a retry stratgey as well as storing the Ids of failed documents as described. Is there any documentation/samples on how to implement a RetryPolicy strategy in Azure Search. Thanks This is what I used: private async Task<DocumentIndexResult> IndexWithExponentialBackoffAsync(IndexBatch<IndexModel> indexBatch) { return await Policy .Handle<IndexBatchException>() .WaitAndRetryAsync(5, retryAttempt => TimeSpan.FromSeconds(Math.Pow(2, retryAttempt)), (ex, span) => { indexBatch = ((IndexBatchException)ex).FindFailedActionsToRetry(indexBatch, x => x.Id);

Implications of using AzureSearch SDK with static Dictionary of 30-40 ISearchIndexClients

痞子三分冷 提交于 2019-12-02 10:29:41
问题 I have an ASP.NET Web Application that uses 30-40 different search indexes across 5-6 search services (various clients are in different pricing tiers). Currently I am marshaling a new instance of the ISearchServiceClient followed by the appropriate ISearchIndexClient for the specific index needed based on the client making the call. In an effort to increase performance I was thinking about marshaling up ALL of the ISearchIndexClients at application startup and placing them into a Dictionary

Does Azure Search handle synonyms

爷,独闯天下 提交于 2019-12-02 00:07:46
问题 Can "Azure Search" search based on synonyms? E.g. If I search for 'footwear', the system should fetch results of synonyms of footwear like shoes, sandals e.t.c. I searched a lot and failed to find proper documentation about it. The closest I could find is a post saying it doesn't support yet, but it's an old post - https://social.msdn.microsoft.com/Forums/en-US/9d0873cf-14aa-4d3e-b33f-a047963e8671/internationalized-search-finding-both-color-and-colour?forum=azuresearch 回答1: Unfortunately, we

Azure search highlights for phrases with double quotes

寵の児 提交于 2019-12-01 06:05:11
问题 We have a azure web application where in there is one search box, when we enter text with double quotes like "App Service" it correctly list records with "App service" however it not only highlights "App Service" but it also highlights "App" as well "Service" if they are found individually, what can be done so that only "App service" is highlighted this will not create chaos among the users. 回答1: In Azure Search we use Lucene's Postings Highlighter. This highlighter ignores positions of terms

Can Azure Search be used as a primary database for some data?

房东的猫 提交于 2019-11-30 01:24:16
问题 Microsoft promotes Azure Search as "cloud search", but doesn't necessarily say it's a "database" or "data storage". It stops short of saying it's big data. Can/should azure search be used as the primary database for some data? Or should there always be some "primary" datastore that is "duplicated" in azure search for search purposes? If so, under what circumstances/what scenarios make sense to use Azure Search as a primary database? 回答1: Although we generally don't recommend it, you might

Azure Search - Find matches within a word like “contains”

本小妞迷上赌 提交于 2019-11-28 02:27:55
问题 I use Azure Search which in turn uses Lucene. Is there any way to make search not that strict. What I need is when searching for " term " should match documents with terms that contain " term ". Serching fox term should match "Prefix Term ", " Term Suffix", "Prefix Term Suffix" Serching fox part2 should match "part1 part2 ", " part2 part3", "part1 part2 part3" I need to run search query which has several terms like "term part2" To match documents like: { someField:"... PrefixTermSuffix ...