Legal Notice
The opinions expressed herein are my own personal opinions and do not represent my employer’s view in anyway.Top Posts
- C# DateTime to UNIX timestamps
- C# Use HttpClient to GET JSON from API endpoint
- C# JWT Token Get Expiry Timestamp
- C# Azure Table Storage QueryAsync, Paging and Filtering
- Serialization and deserialization of 'System.IntPtr' instances are not supported. Path: $.TargetSite.MethodHandle.Value
- .NET API CORS: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header.NET API
- C# get results from Task.WhenAll
Archive
Meta
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 index, search, Sitecore and .net, SOLR
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 index, Linkdatabase, links, Sitecore and .net
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
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 ContentSearch, ContentSearchManager, index, Lucene, search, Sitecore and .net, SOLR
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 ContentSearch, index, Lucene, Sitecore and .net, SOLR, _latestversion
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 ContentSearchManager, index, Lucene, Sitecore and .net, SitecoreIndexableItem
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 index, Index Fragmentation, Performance, Sitecore and .net, SQL
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 AdvancedDatabaseCrawler, index, Lucene, News, Sitecore and .net
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 AdvancedDatabaseCrawler, index, Lucene, Sitecore and .net
21 Comments