Linux anchor 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
Server IP : 10.10.100.4 & Your IP : 216.73.217.150
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
wiki.bernardino.org /
includes /
search /
Delete
Unzip
Name
Size
Permission
Date
Action
AugmentPageProps.php
468
B
-rw-r--r--
2016-11-28 20:20
DummySearchIndexFieldDefinition.php
555
B
-rw-r--r--
2016-11-28 20:20
NullIndexField.php
994
B
-rw-r--r--
2016-11-28 20:20
ParserOutputSearchDataExtractor.php
2.5
KB
-rw-r--r--
2016-11-28 20:20
PerRowAugmentor.php
852
B
-rw-r--r--
2016-11-28 20:20
ResultAugmentor.php
253
B
-rw-r--r--
2016-11-28 20:20
ResultSetAugmentor.php
271
B
-rw-r--r--
2016-11-28 20:20
SearchDatabase.php
1.49
KB
-rw-r--r--
2016-11-28 20:20
SearchEngine.php
22.22
KB
-rw-r--r--
2016-11-28 20:20
SearchEngineConfig.php
2.5
KB
-rw-r--r--
2016-11-28 20:20
SearchEngineFactory.php
1.3
KB
-rw-r--r--
2016-11-28 20:20
SearchExactMatchRescorer.php
5.36
KB
-rw-r--r--
2016-11-28 20:20
SearchHighlighter.php
15.44
KB
-rw-r--r--
2016-11-28 20:20
SearchIBM_DB2.php
6.17
KB
-rw-r--r--
2011-05-28 21:00
SearchIndexField.php
1.81
KB
-rw-r--r--
2016-11-28 20:20
SearchIndexFieldDefinition.php
2.42
KB
-rw-r--r--
2016-11-28 20:20
SearchMssql.php
6.15
KB
-rw-r--r--
2016-11-28 20:20
SearchMySQL.php
12.27
KB
-rw-r--r--
2016-11-28 20:20
SearchNearMatchResultSet.php
593
B
-rw-r--r--
2016-11-28 20:20
SearchNearMatcher.php
4.35
KB
-rw-r--r--
2016-11-28 20:20
SearchOracle.php
7.22
KB
-rw-r--r--
2016-11-28 20:20
SearchPostgres.php
6.16
KB
-rw-r--r--
2016-11-28 20:20
SearchResult.php
6.27
KB
-rw-r--r--
2016-11-28 20:20
SearchResultSet.php
6.05
KB
-rw-r--r--
2016-11-28 20:20
SearchSqlite.php
8.57
KB
-rw-r--r--
2016-11-28 20:20
SearchSuggestion.php
4.38
KB
-rw-r--r--
2016-11-28 20:20
SearchSuggestionSet.php
5.64
KB
-rw-r--r--
2016-11-28 20:20
SearchUpdate.php
3.63
KB
-rw-r--r--
2011-11-30 01:41
SqlSearchResultSet.php
1.22
KB
-rw-r--r--
2016-11-28 20:20
Save
Rename
<?php /** * Basic infrastructure of the field definition. * * Specific engines should extend this class and at at least, * override the getMapping method, but can reuse other parts. * * @since 1.28 */ abstract class SearchIndexFieldDefinition implements SearchIndexField { /** * Name of the field * * @var string */ protected $name; /** * Type of the field, one of the constants above * * @var int */ protected $type; /** * Bit flags for the field. * * @var int */ protected $flags = 0; /** * Subfields * @var SearchIndexFieldDefinition[] */ protected $subfields = []; /** * SearchIndexFieldDefinition constructor. * @param string $name Field name * @param int $type Index type */ public function __construct( $name, $type ) { $this->name = $name; $this->type = $type; } /** * Get field name * @return string */ public function getName() { return $this->name; } /** * Get index type * @return int */ public function getIndexType() { return $this->type; } /** * Set global flag for this field. * * @param int $flag Bit flag to set/unset * @param bool $unset True if flag should be unset, false by default * @return $this */ public function setFlag( $flag, $unset = false ) { if ( $unset ) { $this->flags &= ~$flag; } else { $this->flags |= $flag; } return $this; } /** * Check if flag is set. * @param $flag * @return int 0 if unset, !=0 if set */ public function checkFlag( $flag ) { return $this->flags & $flag; } /** * Merge two field definitions if possible. * * @param SearchIndexField $that * @return SearchIndexField|false New definition or false if not mergeable. */ public function merge( SearchIndexField $that ) { // TODO: which definitions may be compatible? if ( ( $that instanceof self ) && $this->type === $that->type && $this->flags === $that->flags && $this->type !== self::INDEX_TYPE_NESTED ) { return $that; } return false; } /** * Get subfields * @return SearchIndexFieldDefinition[] */ public function getSubfields() { return $this->subfields; } /** * Set subfields * @param SearchIndexFieldDefinition[] $subfields * @return $this */ public function setSubfields( array $subfields ) { $this->subfields = $subfields; return $this; } /** * @param SearchEngine $engine * * @return array */ abstract public function getMapping( SearchEngine $engine ); }