Questions tagged [azure-search]
Anything related to Azure Search: querying, configuring, maintaining, ... Azure (PaaS) replacement for Solr and Lucene.
144
questions
2
votes
0answers
31 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
61 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 ...
2
votes
1answer
61 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
46 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
0answers
27 views
Index values loss after smart publish, returns after an Index Rebuild or Republish
In the image below you can see how the search index for a sitecore item looks like before and after a Smart Publish.
On the left is what I get when I recently did a Rebuild or a Republish and on the ...
0
votes
0answers
14 views
Issue - A tag scoring function must have tag parameters specified
I am trying to add new custom score profile into Sitecore for Azure Search as given below
Added in the Sitecore.ContentSearch.Azure.DefaultIndexConfiguration.config file.
<scoringProfile ...
0
votes
1answer
46 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
34 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....
3
votes
0answers
36 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
54 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
35 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
2answers
111 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 ...
0
votes
1answer
108 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
28 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
35 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
18 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
92 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
51 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
23 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
50 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=...
0
votes
1answer
96 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
133 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
77 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
70 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
99 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
27 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 ...
0
votes
0answers
27 views
How to index sxa tags in azure search and show them in rendering variant of search results [duplicate]
We are using SXA 1.8.1 , Sitecore 9.0.2 and azure search
we want to show tags for each item in search results.
I created tags under "Tag repository"(under system -> settings) item, the created ...
0
votes
1answer
297 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....
1
vote
1answer
58 views
Date field not showing in Azure Search results
I have a regular date field defined like this:
<field type="System.DateTime" fieldName="entry_date" cloudFieldName="entry_date" searchable="NO" retrievable="YES" facetable="YES" filterable="YES" ...
0
votes
1answer
88 views
Resolve PostFailedForSomeDocumentsException exception during indexing
During (manually triggered) indexing of the master database, I get the following exception (stack trace below). Using Sitecore 8.2u7 with SXA 1.7.
27608 10:43:03 ERROR [Index=sitecore_master_index] ...
1
vote
0answers
51 views
SXA checklist filter doesnt return facets with count 0 when used with azure search
I am currently using Sitecore version 9.0.2 and SXA version 1.8.1
Requirement : -
In checklist filter, I want to show all the facets irrespective of the results.
If for a facet the result is not ...
2
votes
1answer
74 views
Excluding template fields from indexing - difference between documentOptions exclusion vs regular exclusion
I reducing the number of fields which get indexed in my site.
I looked at App_Config\Include\Sitecore.ContentSearch.Azure.DefaultIndexConfiguration.config and see the section
<configuration
<...
5
votes
1answer
153 views
Using Geospatial Features Implemented in SXA with a Custom Search Index - Run-time Error
After manually implementing support for the Edm.GeographyPoint field type (per Is it possible to get Azure Search to support EDM.GeographyPoint?), I was happy to notice an answer on a related question ...
0
votes
2answers
71 views
Techniques and Rules to Eliminating Template fields from Indexing
I am investigating my site's indexing and looking at working around the Azure Search index 1000 field limit (see here Rebuilding Sitecore Core Index on Azure search throwing exceeding index limitation ...
2
votes
1answer
162 views
Sitecore SXA Azure Search Facets Returning 400 Bad Request when there are more than 50 results
I have a search page that is working correctly on my local instance using SOLR, but when we move the page to our AZURE Instance it fails. The AZURE Instance is using AZURE Search instead SOLR. If I ...
2
votes
1answer
78 views
Not finding SXA Rich text rendering content in search results
In our SXA site we make use of the OOTB rich text renderings. I was hoping the content of these would be available in the search results - pointing to the containing page as the result. I notice ...
4
votes
1answer
211 views
Azure Search index including too many fields
Configuration: Sitecore 9.0.2, Azure PaaS
As most of us know by now, Azure Search has a hard limit on the number of fields that can be added to an index (1000). To resolve this issue in our ...
1
vote
1answer
71 views
Azure search random behavior running for Sitecore 9.0.2
I am having issue with the Azure Search where I am not getting results from the search index (it is random issue).
I’ve verified the configurations of Azure search and computed index fields. Below is ...
0
votes
1answer
85 views
Index stops updating after a search query
I'm using Sitecore 9.0.2 with Azure Search and Solr.
I have the weirdest search issue I've seen in a while. Take the following steps:
Restart the application (iisreset or similar)
Rebuild the search ...
1
vote
3answers
98 views
Sitecore sxa checklist facets in search are not loading when using azure search
I am using SXA 1.8 with Sitecore 9.0.2. I wanted to add a checklist facet to my search, as I am using Azure Search, I added the field to be indexed like below in a custom config file.
<include ...
-1
votes
1answer
93 views
Azure Search SwitchOnRebuild returns no results
I have created a separate publishing target (Production). I have created a separate index for this database (sitecore_prod_index).
I rebuild my index, and it returns results.
I rebuild again, no ...
2
votes
1answer
114 views
Azure Search Indexes are not being added/populated
I am trying to configure azure search in Sitecore. I followed this article to configure it.
But when I try to rebuild the indexes, the number of units processed is empty and the indexes are not ...
1
vote
1answer
117 views
Patching Azure Search config files and deploy on Sitecore Azure PaaS
Our application (Sitecore 9.0.2 SXA 1.8) is currently running on Azure PaaS with Azure Search as Search service
Recently we ran into this problem of master index exceeding 1000 field Limit
we ...
1
vote
1answer
248 views
Sitecore 9.0.2 SXA 1.8 PaaS Azure Search Configuration
This is the first time we working on Azure Search and Sitecore SXA
we are facing a problem related to
Exception: Sitecore.ContentSearch.Azure.Http.Exceptions.AzureSearchServiceRESTCallException ...
1
vote
0answers
39 views
Response from azure search in portal and on Sitecore UI is different
Environment: Sitecore 9.0.2 XP0 + SXA 1.8.0 + Azure search
What I have done: My data is indexed in the index of Azure Search. I have added the search box and search result with custom scope '...
0
votes
1answer
169 views
Azure search with SXA
Environment: SXA 1.8 in Azure PAAS + Azure search
What I have: My client has multiple offices and each office has its individual page managed with SXA. The fields on this page include address and ...
4
votes
1answer
101 views
Azure Search duplicate results for multilingual countries in same site with different language versions
We have a multi-lingual site where the group of countries (say for example Asia Region) is hosted in one Site folder.
Thus Home, Pages, Settings have different language versions (zh-HK, en-HK, en-AU)...
2
votes
1answer
185 views
Getting the primary Azure Search Index name after index re-build
We are using Azure Search on Sitecore 8.2 update 7 and have enabled switch on rebuild.
This is documented here: https://doc.sitecore.com/developers/91/platform-administration-and-architecture/en/zero-...
2
votes
0answers
47 views
Azure Search FilterOn Linq Not Working
I am running Sitecore 9 update 2 on Azure Web App, with Azure Search. I am trying to use the Sitecore Facet Support, that works completely fine with Solr, but having no luck at all with Azure.
So my ...
0
votes
0answers
97 views
SXA Custom index not used by Search Results component
Following the SXA documentation Configure SXA indexing, I have created my custom indexes :
Then I have created a patch config file for the corresponding index definitions.
On a page I use a ...