Метод |
Описание |
|
addObject ( eZContentObject $contentObject, boolean $commit = true ) : boolean |
Adds object $contentObject to the search database. |
|
buildPhraseSqlQueryPart ( $phraseIDArray, $identifier = false ) |
*!
\private
\return Returns an sql query part for a phrase |
|
buildSearchPartArray ( $phraseTextArray, $nonPhraseText, $wordIDHash, $wildIDArray, $identifier = false ) |
|
|
buildSearchPartArrayForPhrases ( $phraseTextArray, $wordIDHash, $identifier = false ) |
|
|
buildSearchPartArrayForWords ( $nonPhraseText, $wordIDHash, $wildIDArray, $identifier = false ) |
|
|
buildSortSQL ( $sortArray ) |
*!
\private
\return an array of ORDER BY SQL |
|
buildSqlPartForWord ( $wordID, $identifier = false ) |
*!
\private
\return Returns an sql query part for one word |
|
buildTempTablesForFullTextSearch ( $searchPartsArray, $generalFilterList = [] ) |
|
|
buildWordIDArray ( $indexArrayOnlyWords ) |
*!
\private |
|
callMethod ( $methodName, $parameterArray ) |
|
|
cleanup ( ) |
*!
Will remove all search words and object/word relations. |
|
commit ( ) |
Commit the changes to the search engine |
|
constructMethodName ( $searchTypeData ) |
|
|
createTemporaryTable ( $searchPartText ) |
|
|
eZSearchEngine ( ) |
|
|
fetchTotalObjectCount ( ) |
|
|
getPhrases ( $searchText ) |
|
|
getSavedTempTableName ( $index ) |
*!
\return Given table name from the list of saved temporary tables names by its index. |
|
getSavedTempTablesList ( ) |
*!
\return List of saved temporary tables names. |
|
indexWords ( $contentObject, $indexArray, $wordIDArray, $placement ) |
*!
\private |
|
isSearchPartIncomplete ( $part ) |
*!
\return true if the search part is incomplete. |
|
needCommit ( ) |
|
|
needRemoveWithUpdate ( ) |
|
|
normalizeText ( $text, $isMetaData = false ) |
*!
Normalizes the text \a $text so that it is easily parsable
\param $isMetaData If \c true then it expects the text to be meta data from objects,
if not it is the search text and needs special handling. |
|
prepareWordIDArrays ( $searchText ) |
|
|
prepareWordIDArraysForPattern ( $searchText ) |
|
|
removeObject ( eZContentObject $contentObject, boolean $commit = null ) : boolean |
Removes object $contentObject from the search database. |
|
removeObjectById ( integer $contentObjectId, boolean $commit = null ) : boolean |
Removes a content object by Id from the search database. |
|
saveCreatedTempTableName ( $index, $tableName ) |
*!
Saves name of a temporary that has just been created,
for us to know its name when it's time to drop the table. |
|
search ( $searchText, $params = [], $searchTypes = [] ) |
*!
Runs a query to the search engine. |
|
searchAttributeByIdentifier ( $searchParams ) |
|
|
searchAttributeByIdentifierRange ( $searchParams ) |
|
|
searchAttributeByRange ( $searchParams ) |
|
|
searchAttributeFulltext ( $searchParams ) |
|
|
searchAttributeInteger ( $searchParams ) |
|
|
searchAttributeIntegers ( $searchParams ) |
|
|
searchAttributeIntegersByIdentifier ( $searchParams ) |
|
|
searchAttributePatternText ( $searchParams ) |
|
|
splitString ( $text ) |
*!
\private
\return Returns an array of words created from the input string. |
|
supportedSearchTypes ( ) |
*!
\static
\return Returns an array describing the supported search types in thie search engine. |
|
updateObjectsSection ( array $objectIDs, integer $sectionID ) : void |
Update the section in the search engine |
|