16
votes
Accepted
Rebuilding Sitecore Core Index on Azure search throwing exceeding index limitation exception
Azure Search has an upper limit of 1000 fields per index, even for the top tier. In the default Sitecore indexes, all template fields are added as a field in the index.
In a clean Sitecore ...
13
votes
Accepted
Sitecore Azure Search vs. Solr Provider
Does azure search uses Lucene as search engine?
Azure Search is Microsoft's response to providing a cloud based indexer. It uses Elastic Search as the underlying driver, but the Elastic Search engine ...
11
votes
Accepted
How do I sort using Fields["Fieldname"]
You will need to define a custom model that inherits from SearchResultItem to define the field you want to sort based upon using the Content Search API. So assuming your Date field was called Podcast ...
11
votes
Accepted
Azure Search 1000 field limit issue
The problem is that when you are adding fields and have a bunch of languages, this will create a lot of new fields when "indexallfields" is set to true.
(Each field multiplied by the number of ...
9
votes
Custom index configuration cannot work for Sitecore 9.0.1 in Azure
I fixed this issue. You should use
<generalRedirectsSearchConfiguration ref="contentSearch/indexConfigurations/defaultCloudIndexConfiguration">
instead of using
<...
9
votes
Accepted
Sitecore Rebuild Index: Request size exceeded Azure Search Service limits
Issue was solved by decreasing batch size, for more info you can have a look onto:
https://docs.kentico.com/k11/configuring-kentico/setting-up-search-on-your-website/using-azure-search/customizing-...
9
votes
Accepted
What are the available methods for local development when using Azure Search in a PAAS setup?
This is a super tough question to answer and could lend itself to a number of viewpoints, making it difficult to choose the "right" answer. That said, I believe that this is an incredibly ...
9
votes
Accepted
Is it possible to get Azure Search to support EDM.GeographyPoint?
Crawling (getting data into Azure Search)
On the indexing side of things I was able to achieve this in Sitecore 9 by taking the following steps:
Create a custom index configuration for my customer ...
9
votes
Accepted
ContentSearch Where vs Filter
Where => q
The q parameter is normally the main query for the request
Filter => fq
"fq" stands for Filter Query.This parameter can be used to specify a query that can be used to restrict the ...
8
votes
Accepted
Switch xDB Search indexes from SOLR to Azure Search
Ensure that IndexWorker service is updated in the same way as xConnect site was:
Stop IndexWorker windows service.
Disable all SOLR configs in IndexWorker and enable all AzureSearch configs under ...
8
votes
Accepted
Required fields on master search index
If you came here because you are using Azure Search on Sitecore 9 and are over 1000 fields, then you can safely set IndexAllFields to false, however at time of writing there is one known issue (ref ...
8
votes
Accepted
Configure Azure search for Sitecore xConnect
Enabling Azure Search
To use xConnect and IndexWorker with Azure Search you need to do a couple of things:
Create Azure Search service in your Azure subscription. Copy the service key which will be ...
7
votes
Accepted
Getting extra results in content search result with Azure Search
I had a bit same case in my project. When I investigated how Azure Search works underhood I found that string types all times converted to Contains query in Azure Search. You can see that if taking a ...
6
votes
Rebuilding Sitecore Core Index on Azure search throwing exceeding index limitation exception
This is a limitation from Azure Search.
If you have this issue for a custom index I recommend you to split the index into multiple indexes to have less than 1000 fields per index.
If you have this ...
6
votes
Azure Search really slow with Sitecore 8.2.4 compared to 8.2.1
Sitecore has come up with hotfix patch on the performance improvement of Azure search with Update 8.2 u4, did you try this??
6
votes
Accepted
How to index PDF content in Sitecore running on Azure Web App?
The current implementation of Sitecore.ContentSearch API depends on Adobe IFilter v9, which can't be installed in Azure App Service.
At the same time, Azure Search itself supports indexing different ...
6
votes
Accepted
How does Azure Search support Geo-Replicated scenarios?
Azure Search has no built in replication at this time. The Sitecore Azure Search Provider can be pointed to multiple Azure Search instance at once and it will mirror all Create, Update, Delete, ...
6
votes
Accepted
Sitecore indexing commit policy Executor
Commit policies are the idea of telling the provider when it will finally commit documents into a persistent state so that if the application was to crash or the computer was to power down that you ...
6
votes
Accepted
My index on Content Delivery does not match with CM and is not updating anymore on Azure PAAS - Sitecore 9.0.2
I found out that this behavior is related to the introduction of SwitchOnRebuild for Azure Search in Sitecore 9.0.2
As from that version, Sitecore has this feature, and it is turned on by default. ...
5
votes
Accepted
Switch OnRebuildIndex using Azure Search
Azure Search does not yet support (or simulate) this functionality.
Best you could do is to reconfigure your CM and build a new index name out, then update the configs on the CDs. Will likely need an ...
5
votes
Accepted
Remove custom templates from sitecore master index
I recently upgraded from Lucence search to Azure search for one of our client and yes 1000 field limit very annoying thing with Azure search because the default Sitecore installation has that much of ...
5
votes
Where to check the index that is configured from SXA Search API?
You have probably not done last step of installation guide for SXA installations and that is to add two SXA specific Solr cores.
SXA Cores / Indexes are defined in $path_to_your_instance\App_Config\...
5
votes
Accepted
Creating a new index in Azure Search for Sitecore 9 Helix structured
Is it normal to have that hundreds of fields for a Sitecore index?
Yes - back in the days of Lucene and now Solr, some large multisite / multi language installations might see thousands of fields on ...
5
votes
Accepted
Index names get a number appended
This is normal behaviour in Sitecore 9.1+ and is not a problem.
You have Sitecore Azure Search switch on rebuild enabled, so it will append a random number to the index name when rebuilding and then ...
4
votes
Accepted
Multilist fields and Azure Search
I discovered that if you simply use .Equals() then it will work fine. It will perform a Regex match and find all instances, including items that have multiple values in the multilist field.
var ...
4
votes
Accepted
Any guide to implement Azure Search with Sitecore 8.1x?
Out of the box Azure Search is only available on Sitecore 8.2 update 1 and above.
If you wanted to use it on earlier versions you would have to write your own provider for it.
4
votes
Can Azure Search be combined with on premises Sitecore hosting?
Yes, you can use an external index provider by implementing a custom search provider to use in place of the standard Lucene or Solr indexes.
This is made possible by Sitecore providing a number of ...
4
votes
Accepted
Index has not been initialized on content delivery server
Alright, the Sitecore.ContentSearch.Azure.dll file in the CD was not (by default) the same version as in the CM. I copied the CM version to the CD bin folder and it works. (but I have no idea why the ...
4
votes
How to index PDF content in Sitecore running on Azure Web App?
You can create your own computed field that uses a PDF library to parse the file contents and store it in the index.
I followed this example: https://jeffdarchuk.com/2017/02/12/search-pdf-content-in-...
4
votes
Accepted
Invalid field names in Azure Search
This is solved by specifying a cloudFieldName attribute to the <field> element:
<field fieldName="end date"
cloudFieldName="end_date"
storageType=...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
azure-search × 172content-search × 49
indexing × 31
sxa × 27
azure × 24
solr × 12
paas × 12
xconnect × 5
configuration × 5
xdb × 4
sitecore-commerce × 4
sitecore-api × 4
multilingual × 4
lucene × 4
index × 4
sitecore-client × 3
search-facet × 3
certificate × 2
jss × 1
media-library × 1
publishing × 1
upgrade × 1
helix × 1
multisite × 1
best-practices × 1