Tag Archives: index

Sitecore SOLR Search in multiselect lists fails unless you add the field to the defaultSolrIndexConfiguration config

So I have this multiselect field in Sitecore: The field is a treelist field, but this article works for all multiselect fields, treelist, checklist, multilist, etc. So how do you return the field as a list of Sitecore ID’s from … Continue reading

Posted in .net, c#, Sitecore 10, Sitecore 7, Sitecore 8, Sitecore 9 | Tagged , , , | Leave a comment

Sitecore poor Index Update performance linked to missing Index in the Links database

Suddenly my index updates took forever to finish. I mean, one index update would take 2 minutes. And I have a lot of index updates. A lot. UPDATE: 2022-01-19: Sitecore have suggested the same changes to the links database in … Continue reading

Posted in General .NET, Sitecore 5, Sitecore 6, Sitecore 7, Sitecore 8, Sitecore 9, Sitecore and .net | Tagged , , , | 2 Comments

Write to SOLR from .NET Core

.NET Core supports the SOLR index through the SolrNet.Core NuGet packages. Here is how you update the index. STEP 1: THE NUGET PACKAGES You need the following NuGet packages: SolrNet.Core SolrNet.Microsoft.DependencyInjection STEP 2: CREATE A MODEL CLASS CONTAINING THE PROPERTIES … Continue reading

Posted in .net, .NET Core, c#, General .NET | Tagged , , , | Leave a comment

Sitecore ContentSearch – Get items from SOLR or Lucene – A base class implementation

Reading items from Sitecore is pretty straight forward: And it is fast, unless you need to retrieve items from many paths, or need to retrieve every child of a certain base class. In these situations you resolve to using the … Continue reading

Posted in .net, c#, General .NET, Sitecore 7, Sitecore 8 | Tagged , , , , , , | 4 Comments

Sitecore ContentSearch Get Latest Version

The Sitecore ContentSearch API allows you to index content in either .NET Lucene or SOLR, dramatically speeding up retrieval of content, especially when querying items that are scattered across your content tree. Content retrieved from the ContentSearch API is not … Continue reading

Posted in .net, c#, General .NET, Sitecore 7, Sitecore 8 | Tagged , , , , , | 3 Comments

Sitecore 7 create item and update index at the same time

With Sitecore 7, the Sitecore index (based on Lucene.NET) have greatly improved, thus making the index even more usable. One thing you should know though, is that when you add items to Sitecore using the Sitecore.Data.Items.Item.Add() method, the index is … Continue reading

Posted in .net, c#, Sitecore 7 | Tagged , , , , | 5 Comments

Sitecore poor database performance

If you experience decreasing performance in your Sitecore solution, it’s not always your fault. And it’s not always Sitecore’s fault either. The database is usually the last place I would look for performance issues. Most performance issues comes from poor XSLT … Continue reading

Posted in Sitecore 6 | Tagged , , , , | 1 Comment

Get latest news using Sitecore AdvancedDatabaseCrawler Lucene index

This is the first of 2 follow-up posts on how to use the Advanced Database Crawler open source module for Sitecore. From Sitecore 6.5, Sitecore is deprecating the old Lucene index. This means that we have to redo our index … Continue reading

Posted in c#, Sitecore 6 | Tagged , , , , | 3 Comments

Using the Sitecore open source AdvancedDatabaseCrawler Lucene indexer

From Sitecore 6.5, Sitecore is deprecating the old Lucene search method. This simply means that you can no longer use the current, built in Lucene search, but has to use a new built in Lucene search. This is article 1 … Continue reading

Posted in c#, Sitecore 6 | Tagged , , , | 21 Comments