C# Class Jarstan.ContentSearch.AzureProvider.AzureIndex

Inheritance: AbstractSearchIndex, ISearchIndex, IAzureProviderIndex, IDisposable
ファイルを表示 Open project: jscott1277/SitecoreAzureSearchProvider

Public Methods

Method Description
AddCrawler ( IProviderCrawler crawler ) : void
AddCrawler ( IProviderCrawler crawler, bool initializeCrawler ) : void
AddIndex ( ISearchIndex index ) : void
AddStrategy ( IIndexUpdateStrategy strategy ) : void
AzureIndex ( string name, IIndexPropertyStore propertyStore ) : Azure.ContentSearch.AzureProvider
CreateDeleteContext ( ) : IProviderDeleteContext
CreateSearchContext ( SearchSecurityOptions options = SearchSecurityOptions.Default ) : IProviderSearchContext
CreateUpdateContext ( ) : IProviderUpdateContext
Delete ( IIndexableId indexableId ) : void
Delete ( IIndexableId indexableId, IndexingOptions indexingOptions ) : void
Delete ( IIndexableUniqueId indexableUniqueId ) : void
Delete ( IIndexableUniqueId indexableUniqueId, IndexingOptions indexingOptions ) : void
Initialize ( ) : void
Rebuild ( ) : void
Rebuild ( IndexingOptions indexingOptions ) : void
RebuildAsync ( IndexingOptions indexingOptions, CancellationToken cancellationToken ) : Task
Refresh ( IIndexable indexableStartingPoint ) : void
Refresh ( IIndexable indexableStartingPoint, IndexingOptions indexingOptions ) : void
RefreshAsync ( IIndexable indexableStartingPoint, IndexingOptions indexingOptions, CancellationToken cancellationToken ) : Task
RemoveAllCrawlers ( ) : void
RemoveCrawler ( IProviderCrawler crawler ) : bool
Reset ( ) : void
Update ( IEnumerable indexableUniqueIds ) : void
Update ( IEnumerable indexableUniqueIds, IndexingOptions indexingOptions ) : void
Update ( IIndexableUniqueId indexableUniqueId ) : void
Update ( IIndexableUniqueId indexableUniqueId, IndexingOptions indexingOptions ) : void

Protected Methods

Method Description
Dispose ( bool isDisposing ) : void
EnsureInitialized ( ) : void
PerformRebuild ( IndexingOptions indexingOptions, CancellationToken cancellationToken ) : void
PerformRefresh ( IIndexable indexableStartingPoint, IndexingOptions indexingOptions, CancellationToken cancellationToken ) : void

Private Methods

Method Description
PerformUpdate ( IEnumerable indexableUniqueIds, IndexingOptions indexingOptions ) : void
SetupAzureSearchClient ( ) : void

Method Details

AddCrawler() public method

public AddCrawler ( IProviderCrawler crawler ) : void
crawler IProviderCrawler
return void

AddCrawler() public method

public AddCrawler ( IProviderCrawler crawler, bool initializeCrawler ) : void
crawler IProviderCrawler
initializeCrawler bool
return void

AddIndex() public method

public AddIndex ( ISearchIndex index ) : void
index ISearchIndex
return void

AddStrategy() public method

public AddStrategy ( IIndexUpdateStrategy strategy ) : void
strategy IIndexUpdateStrategy
return void

AzureIndex() public method

public AzureIndex ( string name, IIndexPropertyStore propertyStore ) : Azure.ContentSearch.AzureProvider
name string
propertyStore IIndexPropertyStore
return Azure.ContentSearch.AzureProvider

CreateDeleteContext() public method

public CreateDeleteContext ( ) : IProviderDeleteContext
return IProviderDeleteContext

CreateSearchContext() public method

public CreateSearchContext ( SearchSecurityOptions options = SearchSecurityOptions.Default ) : IProviderSearchContext
options SearchSecurityOptions
return IProviderSearchContext

CreateUpdateContext() public method

public CreateUpdateContext ( ) : IProviderUpdateContext
return IProviderUpdateContext

Delete() public method

public Delete ( IIndexableId indexableId ) : void
indexableId IIndexableId
return void

Delete() public method

public Delete ( IIndexableId indexableId, IndexingOptions indexingOptions ) : void
indexableId IIndexableId
indexingOptions IndexingOptions
return void

Delete() public method

public Delete ( IIndexableUniqueId indexableUniqueId ) : void
indexableUniqueId IIndexableUniqueId
return void

Delete() public method

public Delete ( IIndexableUniqueId indexableUniqueId, IndexingOptions indexingOptions ) : void
indexableUniqueId IIndexableUniqueId
indexingOptions IndexingOptions
return void

Dispose() protected method

protected Dispose ( bool isDisposing ) : void
isDisposing bool
return void

EnsureInitialized() protected method

protected EnsureInitialized ( ) : void
return void

Initialize() public method

public Initialize ( ) : void
return void

PerformRebuild() protected method

protected PerformRebuild ( IndexingOptions indexingOptions, CancellationToken cancellationToken ) : void
indexingOptions IndexingOptions
cancellationToken System.Threading.CancellationToken
return void

PerformRefresh() protected method

protected PerformRefresh ( IIndexable indexableStartingPoint, IndexingOptions indexingOptions, CancellationToken cancellationToken ) : void
indexableStartingPoint IIndexable
indexingOptions IndexingOptions
cancellationToken System.Threading.CancellationToken
return void

Rebuild() public method

public Rebuild ( ) : void
return void

Rebuild() public method

public Rebuild ( IndexingOptions indexingOptions ) : void
indexingOptions IndexingOptions
return void

RebuildAsync() public method

public RebuildAsync ( IndexingOptions indexingOptions, CancellationToken cancellationToken ) : Task
indexingOptions IndexingOptions
cancellationToken System.Threading.CancellationToken
return Task

Refresh() public method

public Refresh ( IIndexable indexableStartingPoint ) : void
indexableStartingPoint IIndexable
return void

Refresh() public method

public Refresh ( IIndexable indexableStartingPoint, IndexingOptions indexingOptions ) : void
indexableStartingPoint IIndexable
indexingOptions IndexingOptions
return void

RefreshAsync() public method

public RefreshAsync ( IIndexable indexableStartingPoint, IndexingOptions indexingOptions, CancellationToken cancellationToken ) : Task
indexableStartingPoint IIndexable
indexingOptions IndexingOptions
cancellationToken System.Threading.CancellationToken
return Task

RemoveAllCrawlers() public method

public RemoveAllCrawlers ( ) : void
return void

RemoveCrawler() public method

public RemoveCrawler ( IProviderCrawler crawler ) : bool
crawler IProviderCrawler
return bool

Reset() public method

public Reset ( ) : void
return void

Update() public method

public Update ( IEnumerable indexableUniqueIds ) : void
indexableUniqueIds IEnumerable
return void

Update() public method

public Update ( IEnumerable indexableUniqueIds, IndexingOptions indexingOptions ) : void
indexableUniqueIds IEnumerable
indexingOptions IndexingOptions
return void

Update() public method

public Update ( IIndexableUniqueId indexableUniqueId ) : void
indexableUniqueId IIndexableUniqueId
return void

Update() public method

public Update ( IIndexableUniqueId indexableUniqueId, IndexingOptions indexingOptions ) : void
indexableUniqueId IIndexableUniqueId
indexingOptions IndexingOptions
return void