Tag Archives: Lucene

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 , , , , , , | Leave a comment

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 , , , , , | 1 Comment

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

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 , , , | 20 Comments

Sitecore fast query

Sitecore has multiple ways of accessing data. Accessing data where the location and type is known is usually done using the Sitecore Query: The string value represents the path to the item to be selected. Selecting multiple items can be … Continue reading

Posted in General .NET, Sitecore 6 | Tagged , , , | 15 Comments