kernel/private/interfaces/ezpsearchengine.php

Show: inherited
    Table of Contents

    File containing the ezpSearchEngine interface

    Copyright
    Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
    License
    eZ Business Use License Agreement Version 2.0  
    Package
    kernel  
    Subpackage
    search  
    Version
    4.6.0  

    \ezpSearchEngine

    Package: kernel\search

    This interface is used as the basis for the different search engine implementation

    Children
    \eZSearchEngine

    Methods

    methodpublicaddObject( \eZContentObject $contentObject, bool $commit = true ) : bool

    Adds object $contentObject to the search database.

    Parameters
    Name Type Description
    $contentObject \eZContentObject

    Object to add to search engine

    $commit bool

    Whether to commit after adding the object

    Returns
    Type Description
    bool True if the operation succeed.
    methodpubliccommit( ) : void

    Commit the changes made to the search engine.

    Details
    See
    \needCommit()  
    methodpublicneedCommit( ) : bool

    Whether a commit operation is required after adding/removing objects.

    Returns
    Type Description
    bool
    Details
    See
    \commit()  
    methodpublicneedRemoveWithUpdate( ) : bool

    Whether calling removeObject() is required when updating an object.

    Returns
    Type Description
    bool
    Details
    See
    \removeObject()  
    methodpublicremoveObject( \eZContentObject $contentObject, bool $commit = true ) : bool

    Removes object $contentObject from the search database.

    Parameters
    Name Type Description
    $contentObject \eZContentObject

    the content object to remove

    $commit bool

    Whether to commit after removing the object

    Returns
    Type Description
    bool True if the operation succeed.
    methodpublicsearch( string $searchText, array $params = array(), array $searchTypes = array() ) : void

    Searches $searchText in the search database.

    Parameters
    Name Type Description
    $searchText string

    Search term

    $params array

    Search parameters

    $searchTypes array

    Search types

    Details
    See
    \supportedSearchTypes()  
    methodpublicsupportedSearchTypes( ) : array

    Returns an array describing the supported search types by the search engine.

    Returns
    Type Description
    array
    Details
    See
    \search()  
    Documentation was generated by DocBlox 0.18.1.