MediaWiki REL1_31
|
Null index field - means search engine does not implement this field. More...
Public Member Functions | |
checkFlag ( $flag) | |
Check if flag is set. | |
getEngineHints (SearchEngine $engine) | |
@inheritDoc | |
getMapping (SearchEngine $engine) | |
Get mapping for specific search engine. | |
merge (SearchIndexField $that) | |
Merge two field definitions if possible. | |
setFlag ( $flag, $unset=false) | |
Set global flag for this field. | |
Additional Inherited Members | |
Public Attributes inherited from SearchIndexField | |
const | FLAG_CASEFOLD = 1 |
Generic field flags. | |
const | FLAG_NO_HIGHLIGHT = 4 |
This field does not need highlight handling. | |
const | FLAG_NO_INDEX = 8 |
Do not index this field, just store it. | |
const | FLAG_SCORING = 2 |
This field contains secondary information, which is already present in other fields, but can be used for scoring. | |
const | INDEX_TYPE_BOOL = 6 |
const | INDEX_TYPE_DATETIME = 4 |
const | INDEX_TYPE_INTEGER = 2 |
const | INDEX_TYPE_KEYWORD = 1 |
const | INDEX_TYPE_NESTED = 5 |
const | INDEX_TYPE_NUMBER = 3 |
const | INDEX_TYPE_SHORT_TEXT = 7 |
SHORT_TEXT is meant to be used with short text made of mostly ascii technical information. | |
const | INDEX_TYPE_TEXT = 0 |
Field types. | |
Null index field - means search engine does not implement this field.
Definition at line 6 of file NullIndexField.php.
NullIndexField::checkFlag | ( | $flag | ) |
Check if flag is set.
int | $flag |
Implements SearchIndexField.
Definition at line 32 of file NullIndexField.php.
NullIndexField::getEngineHints | ( | SearchEngine | $engine | ) |
NullIndexField::getMapping | ( | SearchEngine | $engine | ) |
Get mapping for specific search engine.
SearchEngine | $engine |
Implements SearchIndexField.
Definition at line 13 of file NullIndexField.php.
NullIndexField::merge | ( | SearchIndexField | $that | ) |
Merge two field definitions if possible.
SearchIndexField | $that |
Implements SearchIndexField.
Definition at line 42 of file NullIndexField.php.
NullIndexField::setFlag | ( | $flag, | |
$unset = false ) |
Set global flag for this field.
int | $flag | Bit flag to set/unset |
bool | $unset | True if flag should be unset, false by default |
Implements SearchIndexField.
Definition at line 24 of file NullIndexField.php.