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# Authorization in .NET Core API's using Attributes, TypeFilterAttribute and IAuthorizationFilter
Archive
Meta
Tag Archives: search
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
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
Searching in multiple columns in Sitecore Ankiro Search
Sitecore Ankiro Search is a nightmare and a blessing. Once you have it going you have one of the most advanced search engines available. One of the cool features is that seperate fields of one Sitecore template can be indexed … Continue reading