19

Analyzing the proposed approach Let's look at the workaround code from the linked article: ContentSearchManager.GetIndex("sitecore_analytics_index").Reset(); var poolPath = "aggregationProcessing/processingPools/live"; var pool = Factory.CreateObject(poolPath, true) as ProcessingPool; var driver = MongoDbDriver.FromConnectionString("analytics"); var ...


17

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/...


15

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 ...


14

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 ...


14

As others have said here there are a number of steps to do this: Install Solr 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:...


13

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 Publish it In Item Publishing Setting uncheck Publishable check-box Publish Item again Now lets ...


13

Do not delete contacts Simply deleting a contact is a bad idea. It doesn't take into account so many entities that are related to the contact! Here's a very incomplete list of things to consider: The contact's interactions will remain in the xDB. They'll continue to be associated with the non-existing contact, which may result in run-time errors. The ...


12

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 ...


11

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 ...


11

Have recently implemented this module, works perfectly for me so far, give it a try. https://vladimirhil.com/2017/05/16/rebuild-sitecore-analytics-index-without-re-building-reporting-database/


11

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 ...


10

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 ...


10

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 ...


10

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.


10

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 ...


10

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 ...


9

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: <strategies hint="list:AddStrategy"> <!-- NOTE: order of these is controls the execution order --> <strategy ref="...


9

The sitecore_analytics_index stores information about interactions, contacts, and some other xDB entities. The more data you collect, the bigger the index will grow. The more visits you have in a given time period, the more frequent index reads and writes will be. Whether or not you should switch from Lucene to Solr depends on whether the high hard disk ...


9

I fixed this issue. You should use <generalRedirectsSearchConfiguration ref="contentSearch/indexConfigurations/defaultCloudIndexConfiguration"> instead of using <generalRedirectsSearchConfiguration type="Sitecore.ContentSearch.Azure.CloudIndexConfiguration, Sitecore.ContentSearch.Azure">


9

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 ...


8

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. Solution 1: To apply the same technique in order to make sure that your ...


8

The system index from <search> node was marked Obsolete in config (SC8.1.3) and completely removed in Sitecore 8.2 Initial Release. <search> <!-- Obsolete: the API that uses this section is obsolete. Please, use Sitecore.ContentSearch to configure your indexes. --> <configuration type="Sitecore.Search.SearchConfiguration, Sitecore....


8

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=...


8

Okay - so we've got to the bottom of this and it looks like it was just a misconfiguration issue when using SOLR cloud. I'm posting this here for reference: Rebuilding the index for SOLR cloud is detailed here With the most important things being: On the CM box the following should be setup: <index id="sitecore_web_index" type= "Sitecore....


7

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 ...


7

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.


7

Sitecore.Analytics.Data.DataAccess.DataAdapterManager.Provider.DeleteContact(new ID(contactId)); After that you might run the following to update the index: var index = Sitecore.ContentSearch.ContentSearchManager.GetAnalyticsIndex(); index.Refresh(); But note that it is time and resource consuming.


7

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


7

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 ...


7

Something like this has worked for me. Beyond the boosting, the important part is to have the exact match Or the loose match. exactPredicate.Or(loosePredicate); That will build the proper SOLR query. { var parentPredicate = PredicateBuilder.True<ContentPageSearchModel>(); var exactPredicate = PredicateBuilder.False<ContentPageSearchModel>...


Only top voted, non community-wiki answers of a minimum length are eligible