Skip to main content
5 votes
Accepted

What is the way to update solr schema using code in sitecore 10.3?

It's all described in Sitecore documentation here: https://doc.sitecore.com/xp/en/developers/103/platform-administration-and-architecture/add-custom-fields-to-a-solr-schema.html In shortcut: You need ...
Marek Musielak's user avatar
  • 23.9k
4 votes

How to create Solr Index custom field mapping with schema configuration?

You can perform below steps: Create Cores in Solr Go to the SOLR folder (like D:\SOLR\solr-7.7.2\solr-7.7.2) Go to solr folder under server folder (D:\SOLR\solr-7.7.2\solr-7.7.2\server\solr) Copy &...
Swati Gupta's user avatar
  • 3,205
4 votes

Sort by title asc on Solr not working as expected

title_t is a text_general field in Solr. Which is tokenized field so sorting will not work. If you want sorting then the field needs to be of string type (with _s suffix) You can try a few things- ...
Surya Narayan's user avatar
4 votes

xDB index rebuild gets stuck and get Request Entity Too Large exceptions

After investigating various configurations on both Solr and xc-search roles, we identified that the problem stems from the Solr web app's IIS restriction on requests size. To address this, we added ...
Antoine's user avatar
  • 71
3 votes

How to set the JVM Memory for Solr running on an Azure App Service

In order to do this I found I needed to pass an command argument -m in the web.config where the start command is issued like so: <httpPlatform processPath="%HOME%\site\wwwroot\bin\solr.cmd&...
Adam Seabridge's user avatar
3 votes

Sort by title asc on Solr not working as expected

I agree with @Surya and just putting brief details to provide more context to achieve it. Solution 1 When you want to sort on a specific field, always make sure the field isn’t tokenized within Solr, ...
Sumit Helaiya's user avatar
2 votes
Accepted

How can get current index name while adding a custom fields to a Solr schema in using 'IPopulateHelperFactory' Sitecore 10.3

Index name is not passed OOTB to SchemaPopulateHelper class. However there is a workaround using Sitecore Switcher class. First create a class that inherits from mentioned above Switcher class with ...
Marek Musielak's user avatar
  • 23.9k
2 votes
Accepted

New publishing target based CD server is not showing index data

You seem to be confusing some terminology. A Publishing Target is a database. Out of the box, sitecore comes with one publishing target called Web. When you perform a publish and select a target, a ...
Dean OBrien's user avatar
  • 1,645
2 votes

Solr fails to restart during Sitecore 9.1 SIF installation

Looks like you are using SIF 2.1.0 , For Sitecore 9.1.0 try using SIF 2.0.0 It should work. Install-Module -Name SitecoreInstallFramework -RequiredVersion 2.0.0 Hope this helps!!
Niranjan Sadhu's user avatar
2 votes

Item versions to create by date

No, by default Solr will not return all versions of the item. But it's not really Solr related, it's how Sitecore publishing and web database works. When you publish an item, it only published the ...
Marek Musielak's user avatar
  • 23.9k
2 votes

Sitecore 10.3 and 10.4 Solr 9.x compatibility

Sitecore officially supports only Solr 8.11.2 (for versions 10.3.x and 10.4). For all the newer versions the official status is: no compatibility information or does not work So what does it mean to ...
Marek Musielak's user avatar
  • 23.9k
2 votes

Custom Index Strategy Not Updating Indexes

Can you try updating the indexing strategy as below: <strategies hint="list:AddStrategy" role:require="Standalone or ContentManagement"> <strategy ref="...
ckhanna's user avatar
  • 1,298
2 votes

What is the relationship between Sitecore index to Solr index core?

The relation between the index and core is it inside the config files <index id="sitecore_core_index" type="Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore....
Vlad Iobagiu's user avatar
  • 18.6k
1 vote

Seeking Guidance on Synchronizing Indexing Data Between Two Solr Cloud Clusters in Different Regions(east us & central us)

You can setup multiple publishing database targets (e.g. web-datacentre1, web-datacentre2). The content delivery role in each data centre uses the corresponding database targets. The solr cloud in ...
Vincent Lui's user avatar
1 vote
Accepted

How to supply solrConnectionString when deploying Sitecore 10.3.1 to Azure?

Solr Search configuration should have following settings: "xcSearchMsDeployPackageUrl": { "value": "https://XXXXX.blob.core.windows.net/storage/WDP/XP/Sitecore 9.2.0 rev. ...
ckhanna's user avatar
  • 1,298
1 vote

Solr xdb Rebuild not progressing from past 4 days

Please check the current utilization of JVM Memory of your Solr Instance. I faced this once in the past, when my JVM Memory in Solr Dashboard was showing to have consumed 95% and everything was ...
Varun Shringarpure's user avatar
1 vote

Custom boosting rule for scopes to boost by time passed since last update

You are facing above issue due to Datetime comparison. Inside Solr, you can use between operator to perform datetime comparison with the below code: var updatedExpression = PredicateBuilder.True<...
ckhanna's user avatar
  • 1,298
1 vote
Accepted

What is the relationship between Sitecore index to Solr index core?

Relationship between index name on Solr and the one dispalyed on Sitecore Control panel is derived from the index configuration file. Inside each index configuration there is a property named 'core' ...
ckhanna's user avatar
  • 1,298
1 vote

Sitecore Multilist not indexed as multivalue

This error is coming because you are trying to save multi-value into string type. I would suggest you create a computed field for multi-list and then save the value in that custom field. You need to ...
Swati Gupta's user avatar
  • 3,205
1 vote
Accepted

Sitecore Multilist not indexed as multivalue

Type field in Sitecore is a reserved field. This is used for field name resolution as mentioned below, which is a text field that cant contain multiple values. https://doc.sitecore.com/xp/en/...
ckhanna's user avatar
  • 1,298
1 vote
Accepted

What to check before rebuilding a Sitecore index via scheduled task?

As you want to run this as scheduled job, so you can ensure that there is a sufficient gap between the last run and the new run. You could perhaps run it once a day. So, I feel that there is no need ...
Sumit Upadhyay's user avatar
1 vote

Index rebuild on CM server only updates some CD servers in Sitecore

I would suggest going with the SOLR cloud and the Index Replication/Master-Slave approach can solve your issue. Index Replication distributes complete copies of a master index to one or more slave ...
Himmat Singh Dulawat's user avatar
1 vote
Accepted

My Solr health check during docker compose up is failing in my local xm cloud instance

Found the issue, turns out that it was that docker was not adding solr (or any of the container names) to it's DNS... so when it was trying to iwr against http://solr:8983/*, it could not resolve solr....
Bridgette Ryan's user avatar
1 vote

SOLR issue - Install Sitecore 10.3

The default Sitecore container configuration uses specific ports. To avoid any conflicts, ensure that the following ports are not being used by another process: 443, 8079, 8081, 8984, and 14330. In ...
Sandeepkumar Gupta's user avatar
1 vote

SwitchOnRebuildSolrCloudSearchIndex not working with manual update strategy

Going to add some suggestions here rather than continuing in comments. Based on the comments, it sounds like the SwitchOnRebuildSolrCloudSearchIndex class has been correctly assigned and is working to ...
Dean OBrien's user avatar
  • 1,645
1 vote

Sitecore Redis Timeout Exception on ZADD Shared_ExpirationIndex

I have faced a similer type of issue, could you please check the following: In the Web.config and Sitecore.Analytics.Tracking.config files, increase the pollingInterval attribute value on both ...
Himmat Singh Dulawat's user avatar
1 vote

Solr connectivity issue in Azure

Based on the comments above, I can see that the reason for the initial exception is that your DNS has not been correctly configured for the sub domain intdev-solr.atcc.org Therefore you need to either ...
Dean OBrien's user avatar
  • 1,645
1 vote

Media Items not getting indexed after creation in CMS

It's a bit tricky re the issue you mentioned, while I assume your Solr service is functioning properly. To verify this, please ensure that there are no errors or exceptions in the Solr logs. If there ...
Alexander's user avatar
  • 117
1 vote

How to know the SOLR index size and query hits?

If you’re using Solr 8.2 or newer there’s a built-in index analysis tool that gives you a better understanding of what kind of data in your index occupies the most disk space, so that you can tweak ...
Sumit Helaiya's user avatar
1 vote
Accepted

Sitecore sxa search result not coming from custom index

Update: If you are using OOB SXA Search then SXA Search resolves the index name using 'Sitecore.XA.Foundation.Search.Services.IndexResolver.ResolveIndex' You can check the code, but it takes the index ...
Yassine Alahyane's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible