TYPO3  7.6
Public Member Functions | Public Attributes | List of all members
MysqlFulltextIndexHook Class Reference

Public Member Functions

 getResultRows_SQLpointer ($searchWordsArray, $freeIndexUid=-1)
 

Public Attributes

 $pObj
 
const ANY_PART_OF_THE_WORD = '1'
 
const LAST_PART_OF_THE_WORD = '2'
 
const FIRST_PART_OF_THE_WORD = '3'
 
const SOUNDS_LIKE = '10'
 
const SENTENCE = '20'
 

Detailed Description

Class that hooks into Indexed Search and replaces standard SQL queries with MySQL fulltext index queries.

Definition at line 20 of file MysqlFulltextIndexHook.php.

Member Function Documentation

getResultRows_SQLpointer (   $searchWordsArray,
  $freeIndexUid = -1 
)

Gets a SQL result pointer to traverse for the search records.

Parameters
array$searchWordsArraySearch words
int$freeIndexUidPointer to which indexing configuration you want to search in. -1 means no filtering. 0 means only regular indexed content.
Returns
bool||object MySQLi result object / DBAL object

Definition at line 39 of file MysqlFulltextIndexHook.php.

References $GLOBALS.

Member Data Documentation

$pObj

Definition at line 25 of file MysqlFulltextIndexHook.php.

const ANY_PART_OF_THE_WORD = '1'

Definition at line 27 of file MysqlFulltextIndexHook.php.

const FIRST_PART_OF_THE_WORD = '3'

Definition at line 29 of file MysqlFulltextIndexHook.php.

const LAST_PART_OF_THE_WORD = '2'

Definition at line 28 of file MysqlFulltextIndexHook.php.

const SENTENCE = '20'

Definition at line 31 of file MysqlFulltextIndexHook.php.

const SOUNDS_LIKE = '10'

Definition at line 30 of file MysqlFulltextIndexHook.php.