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

Public Member Functions

 __construct ( $name, $type, SearchConfig $config, bool $caseSensitiveSubfield=false)
 
 getMapping (\SearchEngine $engine)
 
- Public Member Functions inherited from CirrusSearch\Search\CirrusIndexField
 __construct ( $name, $type, SearchConfig $config)
 
 setMappingFlags ( $flags)
 Set flags for specific mapping.
 
 getMapping (SearchEngine $engine)
 Get mapping for specific search engine.
 

Protected Attributes

 $typeName = 'text'
 
- Protected Attributes inherited from CirrusSearch\Search\CirrusIndexField
 $typeName = 'unknown'
 
 $config
 
 $mappingFlags
 

Additional Inherited Members

- Static Public Member Functions inherited from CirrusSearch\Search\CirrusIndexField
static addIndexingHints (Document $doc, $fieldName, array $hints)
 Inspect SearchIndexField::getEngineHints() for indexing hints and forward them to special metadata in the document.
 
static addNoopHandler (\Elastica\Param $doc, $field, $handler)
 Add a special metadata to $doc to control the noop_script.
 
static getHint (\Elastica\Param $doc, $hint)
 Get the hint named $hint.
 
static setHint (\Elastica\Param $doc, $hint, $value)
 Set the hint named $hint.
 
static resetHints (Param $doc)
 Clear all hints.
 
- Public Attributes inherited from CirrusSearch\Search\CirrusIndexField
const DOC_HINT_PARAM = '_cirrus_hints'
 Name of the param on \Elastica\Document that contains hints about the noop_script handlers.
 
const MULTILIST_HANDLER = 'multilist'
 name of the noop handler for multilist
 
const MULTILIST_DELETE_GROUPING = '__DELETE_GROUPING__'
 magic word to instruct the noop plugin to cleanup a particular multilist group
 
const NOOP_HINT = 'noop'
 Name of the hint as returned by SearchIndexField::getEngineHints()
 

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