Analyzing the proposed approach
Let's look at the workaround code from the linked article:
var poolPath = "aggregationProcessing/processingPools/live";
var pool = Factory.CreateObject(poolPath, true) as ProcessingPool;
var driver = MongoDbDriver.FromConnectionString("analytics");
When you call Sitecore.ContentSearch.ContentSearchManager.GetIndex(IIndexable indexable), it runs contentSearch.getContextIndex pipeline.
In the version I'm checking now (it's 8.2 update 3), this pipeline has 1 processor only: FetchIndex.
What it does, it takes all the indexex in the order in which they are defined in the config files (see /sitecore/admin/...
The fields are being indexed, but they are not all marked as storageType="YES" in the default Lucene configuration. This means that the fields will be tokenized in the index, but not stored, or visible in Luke. Note that they are still searchable even tho they are not stored.
If you want to be able to see the values in Luke, you will need to change the ...
There are a few steps required to make this configurable in Sitecore.
Create a Checkbox Field
Add a checkbox field, likely to your page item template. This field could be added to a base template shared by all "Page" items (or whatever the type of item it is you wish to exclude from indexing).
In this walkthrough, we're assuming the field is called ...
I did some research and for simple scenario unpublished content is deleted from the index. In my case, it was Lucene, but that shouldn't be really matter because all relevant code is stored in Sitecore.ContentSearch.dll.
Scenario that I executed:
Create the Item
In Item Publishing Setting uncheck Publishable check-box
Publish Item again
As others have said here there are a number of steps to do this:
Generate an XML Schema for Solr
Enable Solr term support
Verify that Solr is running correctly
Create Solr cores
Configure an IOC Container
Configure Sitecore to work with Solr
Rebuild the search Indexes
This official Sitecore documentation covers most of this fairly well: https:...
tl;dr: If you are on Sitecore 7.0 or newer, you should pretty much always be using ContentSearch indexes. If you are on Sitecore 6.X, you can only use the older Sitecore.Search.Index indexes.
Rebuild Search Indexes
This page will show indexes that are listed in the /sitecore/search/configuration/indexes section of the configuration. These indexes ...
There is no difference. They are the same thing. They are both defined in config files, and they both are accessible using the Sitecore search API.
It comes down to how the index is used in the system. There are many factors involved: what parts of the system use the index, how long does it take to rebuild the index, how often the index is used, how often ...
Sitecore is using link database in order to speed-up resolving of relationships between items (referers/references).
It allows to increase performance of Sitecore client and shouldn't impact site performance on the content delivery. It can impact content delivery performance only if you're using link database in your custom code.
If RebuildLinkDatabase ...
The "Rebuild Search indexes" will list the system index, used for searches in the Sitecore desktop.
I think the reason that this one is separated from the other is to be found in older Sitecore versions (6..). The system index was the first (and only in the beginning). There was no "Indexing Manager" in those versions. When Sitecore started to use more ...
From what I remember if you perform a full index rebuild from the Control Panel, index files will be removed. You don't need to do this manually.
And yes, sometimes indexes may become corrupted for multiple reason. Like network connectivity issues or application restart. Rebuilding the whole index may be the easiest option in some cases.
From your description, it looks like you have run into the same predicament that all Sitecore developers inevitably run into with regard to Content Search indexing: why don't my data source items just index with the item for the page that they display on? Of course, this question doesn't just apply to data source items and the item for the page that they ...
You could create a patch file that sets all the indexes strategies to manual, that would effectively disable any automated updates that might happen as a result of installing a package or other content updates.
Something like this should give you a start. NOTE: I have not tested the patches or patched all the required indexes, but this should give you a ...
It's my understanding that if no strategies are defined, than you would be unable to rebuild the index unless you do it directly on that server via code.
Specifying a strategy calls the AddStrategy method on the index:
<!-- NOTE: order of these is controls the execution order -->
I don't think it takes 10 ms when you have complex query with facets.
The most important reasons for creating a separate index are the following:
you can index only the items you need, speeding up (re-)indexation
you can index only the fields you really need, speeding up (re-)indexation
your index will only contain what you need, making it faster to ...
The system index from <search> node was marked Obsolete in config (SC8.1.3) and completely removed in Sitecore 8.2 Initial Release.
<!-- Obsolete: the API that uses this section is obsolete. Please, use Sitecore.ContentSearch to configure your indexes. -->
<configuration type="Sitecore.Search.SearchConfiguration, Sitecore....
If you open the showconfig page (hostname/sitecore/admin/showconfig.aspx) it will tell you all the indexes that Sitecore is loading specially the one that is causing you problem. It will show you something like this:
<index id="sitecore_web_index" type="Sitecore.ContentSearch.SolrProvider.SolrSearchIndex, Sitecore.ContentSearch.SolrProvider" patch:source=...
I fixed this issue. You should use
instead of using
<generalRedirectsSearchConfiguration type="Sitecore.ContentSearch.Azure.CloudIndexConfiguration, Sitecore.ContentSearch.Azure">
Crawling (getting data into Azure Search)
On the indexing side of things I was able to achieve this in Sitecore 9 by taking the following steps:
Create a custom index configuration for my customer Index. I didn't want to disrupt the standard out the box indexes.
Defined a computed field that read in a Lat Long from my Sitecore Items. The computed field ...
Rebuilding Link Database updates the Links table in the "core" (default) database based on the selected list of database(s). As mentioned by others, it updates the referrers and references for a particular item in sitecore. The results of this can be seen when you click on Navigate > Links in the ribbon for a particular item.
For Example: You can see the ...
RebuildSearchIndexForm is obsolete.
[Obsolete("The dialog is not in use anymore and will be removed in the future versions.")]
public class RebuildSearchIndexForm : WizardForm
So I would say, we don't need to care about that anymore.
If you decompile and have a look at the Sitecore.Data.Items.ItemEditing class, in Sitecore.Kernel, you will find that all the EndEdit(bool) method does (and the relevant parts of its overload methods do) is essentially wrap the the call to ItemManager.SaveItem with an EventDisabler.
To apply the same technique in order to make sure that your ...
We had the exact same issue as well with Lucene indexes. Sitecore was able to provide a patch for the SitecoreItemCrawler class. It doesn't appear to be on their Github so I can't link it but ask for support DLL 108165.
The issue is fixed in Sitecore 8.2 Update 1
Please install IFilter, because it is required for indexing media items.
For general information about the IFilter integration with Sitecore, you can refer to the following documentation (Uploading Files to the Media Library):
If it is already installed, please confirm that after installation of Adobe PDF iFilter 11:
you executed the steps mentioned in ...
First, you need to define your own index configuration. That's where you can define the fields that will only be used by your custom indexes.
Create a file named e.g. Sitecore.ContentSearch.Lucene.Index.CustomIndexConfiguration.config under /App_Config/Include with the following content:
In the section of your index (<configuration ref="contentSearch/indexConfigurations/defaultLuceneIndexConfiguration" />) you should point towards a custom config instead of the default one. You need to create this config though, and there you can add the computed field.
Here's a blog post describing this: http://ggullentops.blogspot.be/2015/11/...
If it is a custom config then it should also contain the _uniqueid field.
<field fieldName="_uniqueid" storageType="YES" indexType="TOKENIZED" vectorType="NO" boost="1f" type="System.String" settingType="Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider">
Setting ContentSearch.VerboseLogging to true can help give you diagnostic info on search index activity. Or a set of memory dumps when the thread appears to hang.
You may benefit from using the verbose logging along with this patch to turn up the details . . .