Questions tagged [azure-search]

1

votes
1

answer
431

Views

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

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 co...
user44986
1

votes
1

answer
64

Views

controlling which blobs are indexed azure search

I was wondering if it was possible to index specific blobs, based on their name. For example how can I index 'only' blobs named transactions.json? Currently when I put the extension .json as the value to indexFileNameExtension, the indexer, indexes all .json file, and this makes my index have docume...
Puzzle
1

votes
0

answer
461

Views

How to properly search Collection(Edm.String) in Azure Search?

I've just create a Collection field in Azure search that looks like: [ {'id' : 40, 'name' : 'Fantasy'}, {'id' : 52, 'name' : 'Nonfiction'}, {'id' : 53, 'name' : 'Paranormal'} ] Now I'm having problems querying the field to filter, for example, for all the records that contain id: 40 or to search for...
Carlos Alves Jorge
1

votes
1

answer
263

Views

Azure search, filter and order by collection

Want to use azure search for a search on e-commerce site. The part that I'm struggling with is product stock. Each product has stock saved for several shop departments. Client can select one or two departments as a search filter. Is it possible to order products by stock in specific departments? And...
geek
1

votes
1

answer
148

Views

Azure Search service gives error “Expected a JSON object, array or literal” on spatial query

I am trying to use Azure Search Service for querying data based on spatial data. I want to filter data based on geography. The query tried out in search explorer is search=*&$filter=geo.distance(geolocation, geography'POINT(9.2869001 47.3532887)') le 50 Type defined for geolocation field is Ed.Geogr...
TutuGeorge
1

votes
1

answer
71

Views

Azure search - keyword analyzer

I have document with below fields: a_number_collection = { 'AA BB', 'DD FF' } b_number_collection = { 'AG BB', 'AA F1' } description = 'sample super product' What I would like to achive is to match document only if user will type in a whole number. The problem is that user have only single input for...
mbiernatek
1

votes
1

answer
44

Views

Azure Search SKD “startswith”

I am using the Azure Search SDK. One of my fields is a urlpath field, for example '/parentlevel/sublevel/child' I have the need to do a search and filter on all pages that are at the sublevel or lower. Somehow I need to do a search that returns records that have a urlpath that startswith '/parentlev...
DahlinDev
1

votes
1

answer
120

Views

Groupby/faceting by multiple fields in azure search

I want to groupby/faceting by multiple fields, say by 'name' and 'type' fields in the search index. Is it possible in Azure search. If so how can it be done?
Arun Krish
1

votes
1

answer
48

Views

Can we do document to documents search using Azure Search?

I have a blob storage where i have list of word documents in it. I want search a word document againest to blob storage and find matched documents. Can i use Azure Search for this? How can i implement this?
Naveen Katakam
1

votes
0

answer
153

Views

Issues with escaping special characters and choosing the right analyzers with Azure Search

I am using the Azure index for an index search. I have created custom SWMLuceneAlongWithCustomHyphenAnalyser analyzer for escaping - (special characters), which looks like below 'analyzers':[ { 'name':'SWMLuceneAlongWithCustomHyphenAnalyser', '@odata.type':'#Microsoft.Azure.Search.CustomAnalyzer',...
1

votes
0

answer
47

Views

Limitation storage of azure search is 2.4 TB?

As shown in the picture, I find a limit about storage of Azure search. I have a data with total size up to 500 Terabyte. I want create 4 Container and 4 Azure search index using data from 4 container. So, I can create Azure Search Index with Storage more 2.4TB? Or what is solutions for our proble...
Hùng Lê
1

votes
2

answer
89

Views

Return Value from geo.distance function in a select query

I was playing around with the select for querying the index. I wanted to return a distance for a GeographyPoint I have in the index. I was trying something like this: where GeoPoint is the location field $select=ID,geo.distance(GeoPoint, geography'POINT(-122.131577 47.678581)') Is there a way to ret...
Zekokhan
1

votes
0

answer
56

Views

Azure search null value for GeoSpatial object

I created an Azure Search Index from CosmosDB which has a location data. public Point GeoLocation { get; set; } when I set this to null the indexer throws below error and does not index anything. 'errorMessage': 'Value '' is not a valid GeoJson point.' Is there an empty/null value for Microsoft.Azur...
Onur Topal
1

votes
0

answer
70

Views

Azure Search - Conditional Field Mapping

So here is my problem. I'm building an index with as data source a blob storage full of documents (docx, pptx, txt, pdf) These documents are in different languages (2 to be exact, Dutch (nl) & English (en)). To detect the language I make use of one of the build in skill set which returns me a new ou...
sammydeprez
1

votes
1

answer
57

Views

Azure Search .NET SDK: SearchIndexClient & Dependency Injection

What's the recommended way to register a SearchIndexClient into DI container? (let's say we only have a single index) Register it as singleton or transient?
Mathias
1

votes
1

answer
33

Views

Execution time/metrics data for search queries in Azure Search

Is there a way query and get execution time/metrics for search queries when making a call to Azure Search. We are looking to log execution times in our app code when each call is made. Thanks!
Zekokhan
1

votes
1

answer
122

Views

how to pass the query to azure search from a bot

I am developing a chatbot: using Microsoft bot framework in node-js. using Azure blob to store lot many unstructured data in pdf, doc,exel, and image formats. using Azure search to search in the requested information in the blob. Now, to make the search more accurate, how to send the user entered te...
Vivek Jain
1

votes
1

answer
79

Views

Azure search: Doesn't give correct results with slashes and solutions given for “ends with” doesn't work

I need to fetch Azure search results from the folderPath field as below: 'folderPath': 'xxxxxxxxxxxxx_85ba0b45-xxxxx-4d83-a7e6-xxxxxx/abc' The results should be retrieved only from the above-mentioned folder. But search service also includes results from folderpaths such as below. 'xxxxxxxxxxxxx_85...
Rameshkumar Gudala
1

votes
0

answer
58

Views

Getting Distance with Azure Search Service

I have an object such as this: [SerializePropertyNamesAsCamelCase] public class Location { [Key] public string Id { get; set; } [IsFilterable, IsSortable] public GeographyPoint GeographyPoint { get; set; } } What I would like to do is retrieve all locations that are within 10 KM and order them by di...
Bojan
1

votes
1

answer
100

Views

Azure search - analyzers

I'm working on a search tool for documents like: A) Code: AB-Y X6 8BD Name: Notebook AZX Manufacturer: DELL B) Code: AB-Y X6 9BD Name: Notebook 8BD Manufacturer: DELL What I need to achive is a query that will match document on Code field only if user type all characters inlcuded in Code field. Othe...
geek
1

votes
1

answer
54

Views

How to: Paginated Search in Azure Search using PHP

I have this sample PHP code: public function getListFromAzure($searchParam, $listCategory, $request){ $aListingManager = $this->get('recruitday.model_manager.job_listing'); $url = $jobListingManager->getAzureSearchParam($request, 'azure_search_idx'); $apiKey = $jobListingManager->getAzureSearchParam...
code_specimen11
1

votes
1

answer
41

Views

How to add Azure Search Service endpoint to Traffic Manager

I want to use traffic manager to route the request to Azure Search service on different regions. I have created traffic manager and added two Azure Search endpoints to traffic manager, the problem is, how to configure the health check probe on azure search service as azure search requires API-KEY o...
Youxu
1

votes
1

answer
56

Views

Azure Search, listAdminKeys, ARM output error (does not support http method 'POST')

I am using this bit of code as an output object in my ARM template, '[listAdminKeys(variables('searchServiceId'), '2015-08-19').PrimaryKey]' Full text sample of the output section: 'outputs': { 'SearchServiceAdminKey': { 'type': 'string', 'value': '[listAdminKeys(variables('searchServiceId'), '2015-...
Joseph A. Scaravilli
1

votes
1

answer
74

Views

Azure indexer warning Document could not be processed -it may be encrypted or password protected

I have a web app that processes documents and stores it on azure blob storage. I'm using Azure search to perform the search for these documents. An Indexer is scheduled to run which processes documents and indexes its content to the index which is used for search operations. It was working fine for...
Ganesh Karewad
1

votes
1

answer
54

Views

how to search matching data in latest file using azure search in blob container c#

I have azure blob container named dataTest inside that have multiple folders created based on year/ month / date. dataTest/rawjson/2019/01/25/01/demo1.json dataTest/rawjson/2018/12/30/02/demo2.json I want to get the file from latest folder path would be- dataTest/rawjson/2019/01/25/01/demo1.json How...
Ritesh Sharma
1

votes
0

answer
37

Views

Search scoring doesn't make sense

I'm using default scoring on my search index. The index is based on PDF content stored in Azure blob storage. The scoring results don't make sense to me based on my understanding of default scoring: The search score is computed based on statistical properties of the data and the query. Azure Searc...
Steven C
1

votes
1

answer
61

Views

Azure search Query Throttling

I am trying to understand the throttling behavior that occurs with azure search queries. We are currently running on 3 replicas and 1 partition which seems like it should be more than enough to deal with 14 requests/sec and yet we see that the ~1% queries are getting throttled. (I have attached an i...
Zekokhan
1

votes
0

answer
62

Views

Search a field with special character .net sdk version 5.0.3

Hi I am trying to perform a search in azure using .net sdk. the field that i am searching contains '/' character. However whatever I do the search result always comes up empty. I have tried with HttpUtility.UrlEncode but it is still not working. Below is the code that I tried. can someone please hel...
imran chowdhury
1

votes
1

answer
48

Views

If i run several Azure Search Indexers in rapid succession, is there a way to access that queue of waiting indexers in the Azure SDK?

I have several searches that my application uses and they are relatively big searches, millions of documents each, I am looking to simply display the queue of indexers waiting to run on a page in my application. This is so I can have a better insight into what will be finished and when since I know...
Matt Bruzik
1

votes
1

answer
2.4k

Views

azure search sort and filter by score

I want to know how to filter and order the results by score with azure search. I tried : https://domaine.net/indexes/indexName/[email protected]%20desc&$count=true Return : object(stdClass)#322 (1) { ['error']=> object(stdClass)#323 (2) { ['code']=> string(0) '' ['message']=> st...
Don Stanislas
1

votes
1

answer
530

Views

Azure Search Nested Class Indexing

I try to use Azure Search service for my application. I have a nested class like public class Products { String ProductName {get;set;} List Order {get;set;} } public class Order { String Name {get;set;} } and i couldn't find a way indexing products not only searching productname property but also s...
Arda Güçlü
1

votes
1

answer
66

Views

Azure Search Index Search Profile doesn't allow add functions

For some reason Azure Search Index Search Profile doesn't allow add functions. Any ideas why? Looks like I have required fields. http://prntscr.com/6s9ldc http://prntscr.com/6s9ljk
Cherven
1

votes
1

answer
581

Views

Azure search service datetime conversion

I'm started using azure search service and i have roadblock for now. I have modified-by column in my native DB table, which is actually part of my retrieve data from azure search. Native DB column always has date time in UTC format now when we retrieve BL layer does the conversion based on User Loca...
user1220402
1

votes
1

answer
748

Views

DocumentDB and Azure Search: Document removed from documentDB isn't updated in Azure Search index

When i remove a document from DocumentDB it wont be removed from the Azure Search Index. The index will update if i change something in a document. I'm not quite sure how i should use this 'SoftDeleteColumnDeletionDetectionPolicy' in the datasource. My datasource is as follows: { 'name': 'mydocdbda...
engel
1

votes
1

answer
44

Views

Search Ranking of Results on Relational Data

I am creating a question & answer system and I want to perform searches using Azure Search from a single text box. Originally I was thinking of placing the answers and questions in different indices, so that each index only described one concept of data. However, with this model I have no clue how t...
Gobaan Raveendran
1

votes
2

answer
668

Views

Azure Search Suggester

The suggester in Azure Search has only 1 SearchMode and that is it will match on any word within the field. Although this might be appropriate for many applications, it also is not for many others. Is there any way we can configure the suggester so that a match occurs only when the beginning of the...
user2981411
1

votes
1

answer
125

Views

How to change API Version in Azure Search .NET SDK

I see the (probably) correct property, but I cannot set it since it's private... https://msdn.microsoft.com/en-us/library/microsoft.azure.search.searchserviceclient.apiversion.aspx
Sandro
1

votes
2

answer
756

Views

Azure Search Indexer error: “Document key cannot be missing or empty.”

I have an index in azure search which is synced to an SQL server table through Change Tracking. I randomly start getting this error after I make some changes to the table (but not always, and I can't seem to replicate it consistently unfortunately): [ { 'key': null, 'errorMessage': 'Document key can...
Francesco
1

votes
1

answer
89

Views

Can I use Azure Search to sort results based on tag weight

I am trying to move my website from SQL server to Azure Search (or at least the core searching functionality). I believe I understand how to get most of the functionality rebuilt but I'm stuck on one feature that is key to my site. I would like to be able to sort the search results based on the wei...
David W Gray
1

votes
1

answer
388

Views

Azure Search service with partitioned Document Db

I am new to Azure. I tried to create a Search service with index of Partitioned DocumentDb. So my documentdb have a partionkey and id. While adding that as my search service data source I am getting the following error : Error detecting index schema from source : 'Message : {'Errors':The partition...
vishnu

View additional questions