mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Incremental work on multiple indexes
--HG-- branch : 1.x extra : rebase_source : 39da1f112307ff02bf7a01ecabc95a43271d476c
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user