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 - ...
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 ...
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 ...
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), ...
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 ...
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 ...
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 ...
3
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. ...
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 ...
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/...
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 ...
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 ...
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 ...
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 ...
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....
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 ...
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 ...
2
votes
Solr query returning zero results in Controller
The search isn't working because the category field is set up as a string instead of text. That's why you're not getting any results.
To fix this, modify your query to use the right field name.
1. ...
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' ...
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 ...
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....
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 ...
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 ...
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 ...
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 ...
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....
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 ...
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 ...
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"&...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
index × 39solr × 22
indexing × 18
content-search × 6
sxa × 5
azure-search × 4
xdb × 2
publishing × 2
lucene × 2
sxa-search × 2
event-queue × 2
settings × 2
sitecore-commerce × 1
xconnect × 1
experience-editor × 1
azure × 1
configuration × 1
installation × 1
paas × 1
sitecore-query × 1
content-management × 1
search-facet × 1
sitemap × 1
computed-field × 1
sia × 1