mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Remove indexing on TitlePart (it's performed thru ITitleAspect)
--HG-- branch : autoroute
This commit is contained in:
@@ -7,8 +7,6 @@ namespace Orchard.Core.Title.Handlers {
|
||||
|
||||
public TitlePartHandler(IRepository<TitlePartRecord> repository) {
|
||||
Filters.Add(StorageFilter.For(repository));
|
||||
|
||||
OnIndexing<TitlePart>((context, part) => context.DocumentIndex.Add("title", part.Record.Title).RemoveTags().Analyze());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user