C# 클래스 Foundatio.Repositories.Elasticsearch.ElasticReindexer

파일 보기 프로젝트 열기: exceptionless/Foundatio.Repositories

공개 메소드들

메소드 설명
ElasticReindexer ( IElasticClient client, ICacheClient cache = null, ILogger logger = null ) : System
ReindexAsync ( ReindexWorkItem workItem, Func progressCallbackAsync = null ) : System.Threading.Tasks.Task

비공개 메소드들

메소드 설명
CalculateProgress ( long total, long completed, int startProgress, int endProgress = 100 ) : int
ConfigureIndexItem ( BulkDescriptor d, IHit hit, string targetIndex ) : void
ConfigureItem ( BulkIndexDescriptor idx, IHit hit, string targetIndex ) : BulkIndexDescriptor
ConfigureItem ( IndexDescriptor idx, IHit hit, string targetIndex ) : IndexDescriptor
GetIndexAliases ( string index ) : Task>
InternalReindexAsync ( ReindexWorkItem workItem, Func progressCallbackAsync, int startProgress, int endProgress = 100, System.DateTime startTime = null ) : Task

메소드 상세

ElasticReindexer() 공개 메소드

public ElasticReindexer ( IElasticClient client, ICacheClient cache = null, ILogger logger = null ) : System
client IElasticClient
cache ICacheClient
logger ILogger
리턴 System

ReindexAsync() 공개 메소드

public ReindexAsync ( ReindexWorkItem workItem, Func progressCallbackAsync = null ) : System.Threading.Tasks.Task
workItem Foundatio.Repositories.Elasticsearch.Jobs.ReindexWorkItem
progressCallbackAsync Func
리턴 System.Threading.Tasks.Task