Incremental work on multiple indexes

--HG--
branch : 1.x
extra : rebase_source : 39da1f112307ff02bf7a01ecabc95a43271d476c
This commit is contained in:
Sebastien Ros
2013-03-05 11:13:33 -08:00
parent 2015448c44
commit 08972b8cbb
31 changed files with 324 additions and 86 deletions

View File

@@ -111,7 +111,7 @@ namespace Orchard.Tests.Modules.Indexing {
var thingType = new ContentTypeDefinitionBuilder()
.Named(ThingDriver.ContentTypeName)
.WithSetting("TypeIndexing.Included", "true")
.WithSetting("TypeIndexing.Indexes", "Search")
.Build();
_contentDefinitionManager
@@ -145,7 +145,7 @@ namespace Orchard.Tests.Modules.Indexing {
public void ShouldNotIndexContentIfIndexDocumentIsEmpty() {
var alphaType = new ContentTypeDefinitionBuilder()
.Named("alpha")
.WithSetting("TypeIndexing.Included", "true") // the content types should be indexed, but there is no content at all
.WithSetting("TypeIndexing.Indexes", "Search") // the content types should be indexed, but there is no content at all
.Build();
_contentDefinitionManager