Try our conversational search powered by Generative AI!

Can't get results.



I'm using EpiServer 8.11. and the project has Find installed.

When I got to the Overview tab it tells me there are 20 documents indexed. This is "For All Websites" in "All languages" but when I set the tab to my specific website name this drops to 0.

Needless to say but when I try and do a basic search in my code I get no results back.

How do I fix this so that find indexes the results for my site?



Sep 29, 2015 11:27

I assume you have triggered a Reindex job from the Admin panel?  What do you have in your index? You can use the Explore view in the Find interface to explore the contents of your index.

Sep 29, 2015 17:46


yes, I've tried reindexing from the Admin panel still no joy.

It seems I can add a catalog item programmatically and the admin reindex does my standard web pages.


Sep 30, 2015 10:33

Oh, Okay. I was not aware you were running Commerce in your setup. Are you? (You mention 'catalog item') It's still fine, it works the same. However, make sure your ShouldIndex conventions are correctly set up. In your codebase somewhere, you probably have some lines similar to:

ContentIndexer.Instance.Conventions.ForInstancesOf<T>().ShouldIndex(x => false);
ContentIndexer.Instance.Conventions.ForInstancesOf<U>().ShouldIndex(x => true);

Those lines configure whether these items of type T or U should be indexed or not.

How does 'add a catalog item programmatically' affect the state of the issue?  Does programmatically added catalog items show up in the index?

Sep 30, 2015 10:39

Yes, I'm using Commerce. The standard EPiServer pages are going in the index but not the catalog stuff.

I've just tried adding that code in Application_Start and it didn't fix it.


Sep 30, 2015 11:05

How about

PM> Install-Package EPiServer.Find.Commerce
Sep 30, 2015 14:52


I managed to get something working by using  "ContentIndexer.Instance.Conventions.ForInstancesOf<CatalogContentBase>().ShouldIndex(x => true);" in combination with the code detailed here :

If I had used the EPiServer.Find.Commerce would it have avoided the use of this extra code?

Is there any relevant documentation for what that package provides?


Sep 30, 2015 15:11

Yes, the EPiServer.Find.Commerce package packs:

  • a IReindexInformation implementation class that allows Find to traverse the Commerce catalog.
  • Extensions to the search that allows to filter results by Market (FilterOnMarket)
  • The ability to do Unified Search for catalog items.
  • Best Bet support for Commerce items.
Sep 30, 2015 15:23

Sounds exactly what I need unfortunately when I tried to install it fell over

Install failed. Rolling back...
Install-Package : Updating 'EPiServer.CMS.Core 8.11.0' to 'EPiServer.CMS.Core 9.0.1' failed. Unable to find versions of 'EPiServer.CMS.UI.Co
re, EPiServer.Find.Cms' that are compatible with 'EPiServer.CMS.Core 9.0.1'.
At line:1 char:16
+ install-package <<<< EPiServer.Find.Commerce
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

I've Visual 2013 with nuget 2.8

Sep 30, 2015 16:08

Hello Steve

The latest versions of the EPiServer Nuget packages all target CMS 9 including EPiServer.Find.Commerce v9.1.2. Try installing the previous version of the package by running this in the package manager console:

Install-Package EPiServer.Find.Commerce -Version 9.1.1

This should target the CMS 8.x asssemblies.


Sep 30, 2015 21:23


I've installed that package and removed the other code and it now automatically adds the catalog items.



Oct 01, 2015 10:41
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.