C# Класс BetterCMS.Module.LuceneSearch.Services.IndexerService.DefaultIndexerService

Наследование: IIndexerService
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddHtmlDocument ( PageData pageData ) : void
CleanLock ( ) : void
CloseWriter ( ) : void
DefaultIndexerService ( ICmsConfiguration cmsConfiguration, IRepository repository, ISecurityService securityService, IAccessControlService accessControlService ) : System
DeleteDocuments ( System.Guid ids ) : void
Dispose ( ) : void
OpenWriter ( ) : bool
OptimizeIndex ( ) : void
Search ( SearchRequest request ) : SearchResults
StartIndexer ( ) : bool

Приватные методы

Метод Описание
CanIncludeNodeToResults ( HtmlNode node ) : bool
CheckAvailability ( List results ) : void
CloseReader ( ) : void
CollectChildrenNodesInnerHtml ( HtmlAgilityPack.HtmlNodeCollection nodesCollection, StringBuilder contentText ) : void
ContainsExcludedClasses ( ICollection excludedClasses, string classField ) : bool
GetBody ( HtmlAgilityPack.HtmlDocument html ) : string
GetCollectionFromConfiguration ( string configurationKey ) : ICollection
GetLuceneDirectory ( string directoryRelative ) : string
GetSnippet ( string text, string fullSearchString ) : string
GetTitle ( HtmlAgilityPack.HtmlDocument html ) : string
Initialize ( ) : bool
OpenReader ( ) : bool
OpenWriter ( bool create ) : bool
RemoveDuplicateWhitespace ( string html ) : string
RetrieveUnpublishedPages ( ) : bool

Описание методов

AddHtmlDocument() публичный Метод

public AddHtmlDocument ( PageData pageData ) : void
pageData PageData
Результат void

CleanLock() публичный Метод

public CleanLock ( ) : void
Результат void

CloseWriter() публичный Метод

public CloseWriter ( ) : void
Результат void

DefaultIndexerService() публичный Метод

public DefaultIndexerService ( ICmsConfiguration cmsConfiguration, IRepository repository, ISecurityService securityService, IAccessControlService accessControlService ) : System
cmsConfiguration ICmsConfiguration
repository IRepository
securityService ISecurityService
accessControlService IAccessControlService
Результат System

DeleteDocuments() публичный Метод

public DeleteDocuments ( System.Guid ids ) : void
ids System.Guid
Результат void

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

OpenWriter() публичный Метод

public OpenWriter ( ) : bool
Результат bool

OptimizeIndex() публичный Метод

public OptimizeIndex ( ) : void
Результат void

Search() публичный Метод

public Search ( SearchRequest request ) : SearchResults
request SearchRequest
Результат SearchResults

StartIndexer() публичный Метод

public StartIndexer ( ) : bool
Результат bool