CirrusSearch
Elasticsearch-powered search for MediaWiki
Loading...
Searching...
No Matches
CirrusSearch\Maintenance\ArchiveMappingConfigBuilder Class Reference
+ Inheritance diagram for CirrusSearch\Maintenance\ArchiveMappingConfigBuilder:
+ Collaboration diagram for CirrusSearch\Maintenance\ArchiveMappingConfigBuilder:

Public Member Functions

 buildConfig ()
 Build the mapping config.
 
 canOptimizeAnalysisConfig ()
 
- Public Member Functions inherited from CirrusSearch\Maintenance\MappingConfigBuilder
 __construct ( $optimizeForExperimentalHighlighter, $flags=0, SearchConfig $config=null, CirrusSearchHookRunner $cirrusSearchHookRunner=null)
 

Public Attributes

const VERSION = '1.0'
 
- Public Attributes inherited from CirrusSearch\Maintenance\MappingConfigBuilder
const PREFIX_START_WITH_ANY = 1
 
const PHRASE_SUGGEST_USE_TEXT = 2
 
const OPTIMIZE_FOR_EXPERIMENTAL_HIGHLIGHTER = 4
 
const VERSION = '1.10'
 Version number for the core analysis.
 

Additional Inherited Members

- Protected Member Functions inherited from CirrusSearch\Maintenance\MappingConfigBuilder
 buildSourceTextStringField ( $fieldName)
 Build the source_text index field.
 
- Protected Attributes inherited from CirrusSearch\Maintenance\MappingConfigBuilder
 $engine
 
 $searchIndexFieldFactory
 
 $flags = 0
 

Member Function Documentation

◆ buildConfig()

CirrusSearch\Maintenance\ArchiveMappingConfigBuilder::buildConfig ( )

Build the mapping config.

Returns
array the mapping config

Reimplemented from CirrusSearch\Maintenance\MappingConfigBuilder.

◆ canOptimizeAnalysisConfig()

CirrusSearch\Maintenance\ArchiveMappingConfigBuilder::canOptimizeAnalysisConfig ( )
Returns
bool

Reimplemented from CirrusSearch\Maintenance\MappingConfigBuilder.


The documentation for this class was generated from the following file: