C# Class Foundatio.Repositories.Elasticsearch.ElasticReindexer

Afficher le fichier Open project: exceptionless/Foundatio.Repositories

Méthodes publiques

Méthode Description
ElasticReindexer ( IElasticClient client, ICacheClient cache = null, ILogger logger = null ) : System
ReindexAsync ( ReindexWorkItem workItem, Func progressCallbackAsync = null ) : System.Threading.Tasks.Task

Private Methods

Méthode Description
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

Method Details

ElasticReindexer() public méthode

public ElasticReindexer ( IElasticClient client, ICacheClient cache = null, ILogger logger = null ) : System
client IElasticClient
cache ICacheClient
logger ILogger
Résultat System

ReindexAsync() public méthode

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