C# Class Solita.Episerver.Performance.Search.NonFileIndexingSearchHandler

By default Episerver.Search indexes all file content for text, including xml, js, css, json, etc. With big files this is CPU intense and slow, and often there is no need for full-text search with files. This override removes link to the file content before sending the item to processing, thus preventing the file content indexing. It'll keep other indexable properties intact.
Inheritance: SearchHandler
ファイルを表示 Open project: solita/episerver-performance

Public Methods

Method Description
UpdateIndex ( IndexRequestItem item ) : void
UpdateIndex ( IndexRequestItem item, string namedIndexingService ) : void

Method Details

UpdateIndex() public method

public UpdateIndex ( IndexRequestItem item ) : void
item IndexRequestItem
return void

UpdateIndex() public method

public UpdateIndex ( IndexRequestItem item, string namedIndexingService ) : void
item IndexRequestItem
namedIndexingService string
return void