Questions tagged [azure-search]

Anything related to Azure Search: querying, configuring, maintaining, ... Azure (PaaS) replacement for Solr and Lucene.

Filter by
Sorted by
Tagged with
0
votes
0answers
27 views

Azure search through sitecore does not return all results

I have setup synonyms for azure search for searching for products on our site. Our products are split into language specific entities. When I search for the product directly I get all language ...
0
votes
0answers
28 views

Getting error in Azure search ""Index was out of range. Must be non-negative and less than the size of the collection.\r\nParameter name: index"

We are getting result thorough content api using Azure search and solr. In Solr, everything is working fine but when we are trying to get result in Azure search then we are getting the below error
0
votes
0answers
27 views

Overriding the Aggregated.cs file in Sitecore.XA.Foundation.Search.ComputedFields.AggregatedContent

I have arranged all my content based on country which a folder template and has a field for country name. All my content specific to that country are placed under it. For SXA search I want the English ...
0
votes
0answers
81 views

Browser is unable to load pdf documents from Azure CDN

we are getting an error when the browser is trying to download pdf documents. we are getting an error i.e. Failed to load the document. This error we are getting for pdf files that are greater than ...
2
votes
1answer
146 views

Getting extra results in content search result with Azure Search

Using Azure search in Sitecore 9.1.1. We are getting extra results in Azure search only, with Solr results are showing correctly. Scenario: Fetching result from the below structure : When we try to ...
0
votes
2answers
90 views

Where to get Azure search query logs to check a query?

We are using Azure search to get the Sitecore items based on some filter conditions passed as predicate. This condition is not working with Azure Search in our dev environment. We have to check the ...
0
votes
0answers
21 views

Ensure Azure Content Search Provider uses a filter for a query

We have a number of searches on our site that should be possible through a pure filtered search - we're searching across a few fields, some of which are mutli-selects, others are booleans and one's a ...
1
vote
1answer
104 views

How to create a custom facet for a Time range for an SXA search filter

I have a search result component showing all the events. The requirement is to add a CheckList filter to filter the events that have their event date before 9AM and after 9AM. How can I create a ...
0
votes
1answer
53 views

New field for Azure index

I have Sitecore 9.3 with Azure PAAS and are using Azure search. I added one 'shared' field to the media templates of the checkbox type with name IsOptimized. I added the following entry to the config. ...
0
votes
1answer
57 views

GroupBy clause for both search providers (Solr, Azure)

Would like to use groupby clause in Sitecore 9.1.1 for both search provide (Azure, Solr) in content search API. However, Sitecore does not support this clause. Kindly let us know how we can group ...
0
votes
0answers
26 views

Boosting rule on checkbox field not working in Azure

I have a checkbox field (IsImportant). I have added the boosting rule to my search scope "Where the IsImportant field is equal to true adjust boost by 100". It is giving no result in azure ...
0
votes
0answers
197 views

How to build Sitecore SXA Scope Search query with comoperations

I have requirement to show the query results based on the logged-in user-profile details, I was able to pass the query token field value dynamical by following the code. How to write a SXA search ...
1
vote
0answers
69 views

Exact search in Azure search in Sitecore SXA

Using azure search in Sitecore SXA 1.7 and it is not fetching exact result likewise if we are using "Test data" in search box then it is showing result based which match "Test data ...
0
votes
1answer
78 views

Sitecore doesn't add the indexed field with Traditional Chinese & Simplified Chinese postfix on the Azure custom index

I am doing a POC in Sitecore.Net 9.2 vanilla setup for enabling the Traditional Chinese and Simplified Chinese in the CMS and looking for how can I perform the Azure search for the content in zh-HK ...
3
votes
0answers
95 views

Not able to fetch search result in Content search API with Solr and Azure

I am using content search API in Sitecore 9.1.1. However, it is not fetching result if i am using search with any of the template field. The below code fetching result based on template id but when we ...
2
votes
1answer
603 views

Could not compute value for ComputedIndexField - Service Host URI is not a Valid URI

We have a sitecore 9.1.1 CM instance configured to use Azure Cloud. We have the relevant configurations enabled & disabled for each instance. However we are seeing the following: 16784 22:55:11 ...
1
vote
1answer
44 views

How to index Catalog Generated Template Field's in Azure search

In Azure Search Index configuration, there is an option to include Fields that need to be indexed. But the catalog generated Templates Field may be having different id's in different environments (Dev,...
1
vote
1answer
161 views

Custom Sitecore index not updated on publish after item delete

We are using Sitecore 8.2 with Azure search. When I delete an item and publish the parent folder, the item goes away from sitecore_web_index, however, it doesnt go away from the custom_web_index. (I ...
2
votes
1answer
60 views

Automated index document merge complains about invalid index name but index names are valid

I get thousands of the following error in the minions log: 00007 09:21:07 ERROR AzureContextCommand.MergeOrUploadDocuments.Error: Message=Index name must only contain lowercase letters, digits or ...
3
votes
1answer
83 views

Custom index was not found error in in Azure Paas Content Delivery

My custom index "custom_index" was not found error is coming in Sitecore 8.2 on the Azure Paas CD environment. But the same custom_index is accessible in the CM environment. I'm using the Azure ...
0
votes
0answers
55 views

How can I solve Server Error in '/' Application Index has not been initialized? [duplicate]

If I access my home page, show error like this : Server Error in '/' Application. Index has not been initialized. Description: An unhandled exception occurred. Exception Details: System....
2
votes
1answer
414 views

Index has not been initialized error on Sitecore 8.2 with Azure Search

I have Sitecore 8.2 update 5 in Azure PaaS using Azure Search. When I am trying to open the content editor, it is throwing exception Index has not been initialized with stack trace info mentioning ...
1
vote
0answers
128 views

Azure search Synonyms implementation using SXA 1.9 and Sitecore 9.2 using postman API

I have requirement to work with the synonyms for the similar group of words in search. I did load the synonyms using Postman API to SXA web index and able to see them on the index. For example: home,...
3
votes
3answers
364 views

How to rename Azure Search index

I tried to index master, web indexes using the Azure Search service. Indexing works fine, but we have a requirement to have the index names unique in Azure as we are using single search services for ...
1
vote
0answers
174 views

Sitecore Azure search suggesting index rebuild error

I have implemented Sitecore Suggesting search on Sitecore 9.2. based on https://sitecore.namics.com/2018/06/15/sitecore-9-azure-search-suggestions/ but when I rebuild indexes, I am getting error: ...
2
votes
0answers
43 views

Safe to delete Sitecore master/web old index after rebuild/swap?

We're using the Swap and Rebuild feature of Sitecore 9.1 when we need to rebuild our indexes for Azure Search. Occasionally, after the rebuild and swap is complete; Sitecore won't delete the old ...
1
vote
0answers
196 views

How can create new score profiling into Sitecore?

I am indexing Sitecore items into Azure and performing the Azure search via Azure functions. I want to create a new Scoring Profile into Sitecore and use it during the search. I am not getting much ...
3
votes
1answer
190 views

How to replace `CertificateHttpClientHandlerModifier` to `X509Certificate2`

I'm using Sitecore 9.2 scaled environment on Azure, and am trying to make a .Net core 2.2 project published on azure app service connects to XConnect which is also on Azure, am following this link ...
3
votes
1answer
173 views

Connecting two Azure services to access XConnect

I'm using Sitecore 9.2 scaled environment on Azure, and am trying to make a .Net core 2.2 project published on app service azure connects to XConnect which is also on Azure, am following this link ...
0
votes
2answers
264 views

Enabling full text search on a single line text field

Locally I successfully enabled full text search on a field in the sitecore_web_index by implementing the following logic in my Sitecore solution: 1) Added this xml to a patch configuration file: &...
1
vote
0answers
124 views

Custom Azure Index doesn't update on CD Servers after rebuild

We have a custom Azure Index which we have enabled switch on rebuild for. The works fine on the CM servers but. However on CD we get no data showing until we restart the Azure App Service for the CD....
4
votes
0answers
84 views

Azure Deployment Slot Processing Events and Updating Indexes

We have a deployment slot that we deploy to, which we then warm up, and then swap with the live slot so that we can achieve zero downtime deployment on PaaS. This works very well in general. However, ...
1
vote
1answer
785 views

Could not create instance of type: Sitecore.ContentSearch.Azure.CloudSearchProviderIndex. No matching constructor was found

Currently in progress of upgrading from Sitecore 8.1 to 8.2 update 7. So I'm currently converting existing indexes from luecene to Azure search, I have done all the basic steps like, disabling all the ...
1
vote
1answer
292 views

IS there a simple way to get the current Azure Search index name programatically?

I need to get the current active index name for Sitecore search for logging purposes. Because of the swap on rebuild functionality, I can't simply use the name field of the index, since on alternating ...
0
votes
3answers
611 views

Sitecore 9.1.1 Azure Search custom index not updating when running rebuild

I'm trying to port an application to Azure Search from Solr. I've got the sitecore indexes working and rebuilding. The documents are being added to the azure search index. However for any custom ...
1
vote
1answer
740 views

Custom index field not showing in Azure search

I am trying to use KamSars approach to indexing subcontent (pagecomponents) in my Sitecore 9.2.0 solution. It works fine in my Solr index locally, but when I try to add the two new computed index ...
0
votes
0answers
59 views

SXA Map throwing 400 Bad Request

Working with Sitecore 9 (Update 1), SXA 1.7.1 and Azure Search. Components added on the page: Map, Location Finder, Search Results (all components have the same search signature). Search Query: ...
0
votes
1answer
63 views

Need to access search keyword in a custom rendering controller in SXA

We are using SXA 1.8 with Sitecore 9. And, we have the requirement to access the search keyword passed in the search-box in one of the custom-renderings. But unfortunately, SXA is appending the search ...
0
votes
1answer
84 views

Azure Search queries including too many results due to extra wildcard in fullpath_1 query with space

We are using Azure Search to find items by path. We apply the following search code: var filterPredicate = PredicateBuilder.True<SearchResultItem>(); filterPredicate.And(x => x.Path....
0
votes
1answer
461 views

Azure search not adding documents from custom index unless renamed

I am having some odd issues with Azure Search in Sitecore 9.2.0, not indexing any documents from my custom index. Locally, when indexing to SOLR there are no problems at all. Background: We use ...
0
votes
2answers
243 views

Rebuilding sitecore_master_index: The property 'property_id_s_t_de' does not exist on type 'search.documentFields'

When we rebuild our sitecore_master_index index, we usually get an error during the rebuild process and the logs show several instances of the below stack trace:  692 12:50:11 ERROR [Index=...
0
votes
1answer
96 views

Warning message: 'GUID' field of 'GUID' item is skipped: field name is missed

In all of our environments, any time there is an index update to our Azure Search indexes, we see the following WARN message logged repeatedly (many thousands of times): 06:11:06 WARN [Index=...
1
vote
2answers
275 views

Azure searches on one Azure CD server are sent as "&search=This_Is_Equal_ConstNode_Return_Nothing"

On one of three CD servers every search we execute is sent to Azure Search like the following: 19660 02:11:05 INFO AzureSearch Query [sitecore_web_index]: &search=...
1
vote
1answer
611 views

Is it possible to make custom computed index field searchable in SXA 1.8

I'm using Sitecore 9.0 with SXA 1.8. I've got a requirement to search PDF names and it's fields including custom fields (e.g. download title field). When I see the Solr index / Azure index, PDF names ...
1
vote
1answer
443 views

Search with dropdown filter based on parent item display name

I am using SXA's search results and dropdown filter to be able to filter items on the search scope by their parent item display name. I have it sort of working by first creating a Computed Index ...
1
vote
1answer
457 views

How to write a custom controller for Sitecore SXA Search Box component?

We are using Sitecore 9.0.2, SXA 1.8.1 and Azure search. The SXA component Search Box works perfectly fine. In our application, we need to show the search results from other application along with ...
0
votes
1answer
141 views

Index names get a number appended

I switched from Solr to Azure search and followed all the steps listed in the blog. I Also renamed the Solr core to lower case with dashes. When I run the xConnectSearchIndexer -rr service the ...
0
votes
0answers
898 views

ERROR Year, Month, and Day parameters describe an un-representable DateTime

We are receiving below errors during Indexing. We are on Sitecore 9 update-2, SXA 1.7.1 and using Azure search. The errors below seems related to SXA fields. Has anyone come across this issue? 10752 ...
1
vote
0answers
78 views

How can the Sitecore search API be extended to support Azure search traffic analytics?

I'm experimenting with adding support for conditionally returning SearchId for Azure search traffic analytics purposes (https://docs.microsoft.com/en-us/azure/search/search-traffic-analytics) as part ...
1
vote
1answer
926 views

Creating a new index in Azure Search for Sitecore 9 Helix structured

Background: I am completely new to Azure Search in general. New to SOLR, Lucene the whole thing. I have a good bit of experience in SQL design for indexes and such, but this seems completely different....