Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more
8 votes
Accepted

Why we should not use fast queries in Sitecore

Everything that @Hishaam said is correct, but I want to clarify the 2 questions here: So if I fast query an item with 100 children will all those come in to memory without paging or caching? No - ...
Richard Seal's user avatar
  • 20.5k
5 votes
Accepted

Finding root of a current index

The simplest code would be like that: var crawler = Sitecore.ContentSearch.ContentSearchManager.GetIndex(indexName).Crawlers.First() as SitecoreItemCrawler; string rootString = crawler.Root; Item ...
Marek Musielak's user avatar
  • 23.8k
5 votes
Accepted

Solr SearchResultItem indexer does not resolve dynamic field name on custom index

Based on previous projects, when using Where(x => x[fieldName] != null), the fieldName should match the one from the Solr Index. From your question, if you pass Where(x => x["shape_s"] != null), ...
Hishaam Namooya's user avatar
5 votes

What is the difference between Populate Solr Managed Schema & Indexing Manager features

Managed Schema This is needed after adding a new index/core or when new field types are configured in the Sitecore config. Many of the fields are dynamic so you may rarely run this. I added Managed ...
Michael West's user avatar
  • 18.2k
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
4 votes

When do indexes get rebuilt automatically in Sitecore?

Sitecore can be configured to do rebuilds with very different strategies depending on the architecture and requirements (it can be after publish, or full republish, or even manual, i.e. only rebuilt ...
Jarmo Jarvi's user avatar
4 votes
Accepted

Sitecore SOLR core pointing to different core directory

This is how SwitchOnRebuildSolrSearchIndex solr works , this is not a bug. Your website uses indexes from the primary core. Each time you initiate a full index rebuild, Sitecore does this in the ...
Gaurav Agarwal's user avatar
3 votes
Accepted

Programmatically boost items in an index does not work

Some clarification of the comment here: Search result boosting works in Solr version 6.6 or earlier, but Solr changed the implementation in Solr 7, and later versions. Therefore, search result ...
Richard Seal's user avatar
  • 20.5k
3 votes

Sitecore 9.3 with solr - Computed field is not showing up in index, nor is ComputeFieldValue executed

After working through this issue with sitecore support, it was determined that it was the documentOptions line that was the issue: <configuration ref="contentSearch/indexConfigurations/...
Qorey's user avatar
  • 71
3 votes

Why we should not use fast queries in Sitecore

When using Sitecore Fast Query, the result will not be cached. Sitecore has different layer of caching So if I fast query an item with 100 children will all those come in to memory without paging ...
Hishaam Namooya's user avatar
2 votes

When do indexes get rebuilt automatically in Sitecore?

When OnPublishEndAsynchronous strategy is set on any index if there is a large publish triggered it can cause a full rebuild of the indexes. As stated in the sitecore index stategies guide the ...
Cristi Vulturar's user avatar
2 votes
Accepted

sitecore_web_index index is not getting updated upon publish on remote Solr servers

Since you mentioned in one of the comments that you're using Solr Cloud with 3 nodes, I just wanted to share the setup I've found working well for most scenarios: Use just the ...
mikaelnet's user avatar
  • 809
2 votes

What are scenarios to use Sitecore.Web.Index?

The obvious answer is to use the Web index for any (site) search related functionalities. There are also other site search like functionalities. You could think of a news articles or product (,or ...
andredezwart's user avatar
2 votes

Broken local environments - media library search, experience editor, can't rebuild index / indices

This answer is for your solr service issue that you mentioned in your comment. Follow this blog for more details - https://www.from-sitecore-with-love.de/blog/2019/solr-service-not-starting It can be ...
Gaurav Agarwal's user avatar
2 votes

How to get dynamic Summary or short description from Solr index

You can create computed index field and write logic according to that if Summary field is empty in that case it will go to Body field. And logic will be like that into your computed index field class. ...
Rishiraj Shekhawat's user avatar
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
2 votes
Accepted

SXA indexes not created after installing 10.3

It's not uncommon for SXA indexes to not appear after installation, even if you have installed SXA separately. This is because the SXA indexes are not created by default when you install Sitecore. To ...
Raman Gupta's user avatar
  • 2,559
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
  • 706
1 vote
Accepted

Lucene Index- Sitecore Web index _sat0.cfs file is missing

There are a couple of things you could try and eliminate first.. File locking: Do you have a virus checker that could be locking the files and stopping them from being overwritten or possibly ...
Sumit Helaiya's user avatar
1 vote
Accepted

Index rebuild batch sizing setting?

Yes, you're right. This settings is a general setting that is used by SolrBatchUpdateContext class. It's used both for partial updates and for full index rebuild. With that setting (and ContentSearch....
Marek Musielak's user avatar
  • 23.8k
1 vote
Accepted

Amend ContentSearch settings to a single index?

No, that's not possible out of the box. SolrContextFactory class, which is responsible for creating IProviderUpdateContect implementation object, checks if batch mode is enabled for indexing, by ...
Marek Musielak's user avatar
  • 23.8k
1 vote

How to get dynamic Summary or short description from Solr index

To populate some dynamic text when the summary field is not available so you can use the computed field for the summary field and in that computed field you can check if any value is coming or not and ...
Swati Gupta's user avatar
  • 3,135
1 vote

$name is getting indexed

$name is just a token which will be replaced by item name, if you will create item first and then add $name in standard value later then in $name will be reflect into your item because of standard ...
Swati Gupta's user avatar
  • 3,135
1 vote

$name is getting indexed

$name is a token that replaces by item name when we create item in the content tree. But sometimes accidentally or because of some issue during item creation,it doesn't change to the item name and ...
Mahendra Shekhawat's user avatar
1 vote
Accepted

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

Your index needs to be configured in the indexes node. Probably that is done on CM but not on CD. Check the config on CD for something like: <contentSearch> <configuration type="Sitecore....
Gatogordo's user avatar
  • 20.1k
1 vote
Accepted

"Lock held by this virtual machine" exception with Solr 6.6.1

From the Solr source it looks like the connection to Solr is closing before Solr can read the query fully. This might happen if you have particularly large queries as there are some limits that apply ...
Richard Hauer's user avatar
1 vote
Accepted

Could not create instance of type: Sitecore.ContentSearch.SolrProvider.SolrSearchIndex. No matching constructor was found

You dont need to disable lucene indexes as this can be done from web config search app setting. This might come from one of your custom index configurations, try to remove the custom solr index ...
Ahmed Okour's user avatar
  • 2,124
1 vote

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

You have the wrong type in ContentSearchIndexConfiguration. Change from <ContentSearchIndexConfiguration type="Sitecore.ContentSearch.Azure.CloudSearchProviderIndex, Sitecore.ContentSearch.Azure"&...
Mark Gibbons's user avatar
  • 5,602
1 vote
Accepted

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

I contacted Sitecore Support about this issue and they responded promptly with a patch to resolve it. They have asked that it not be shared publicly, but you can retrieve the patch by referencing ...
Dan Sinclair's user avatar
  • 5,395
1 vote

Solr cloud collection sitecore_web_index occasionally has multiple versions of an item in the index

Have you tried sitecore support? Do you have a patched crawler? There are a couple of bugs I've encountered which result in duplicate items in the web database. Which require patches from support. ...
Ian's user avatar
  • 1,072

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