Method | Description | |
---|---|---|
getDefaultMatchField ( ) : string | Get name of the default field to be used for matching. | |
getDefaultSortField ( ) : string | Get name of the default field to be used for sorting. | |
getIndexData ( eZ\Publish\SPI\Persistence\Content\Field $field, eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition $fieldDefinition ) : eZ\Publish\SPI\Search\Field[] | Get index data for field for search backend. | |
getIndexDefinition ( ) : eZ\Publish\SPI\Search\FieldType[] | Get index field types for search backend. |
Method | Description | |
---|---|---|
extractShortText ( DOMDocument $document ) : string | Extracts short text content of the given $document. | |
extractText ( DOMNode $node ) : string | Extracts text content of the given $node. |
public getDefaultMatchField ( ) : string | ||
return | string |
public getDefaultSortField ( ) : string | ||
return | string |
public getIndexData ( eZ\Publish\SPI\Persistence\Content\Field $field, eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition $fieldDefinition ) : eZ\Publish\SPI\Search\Field[] | ||
$field | eZ\Publish\SPI\Persistence\Content\Field | |
$fieldDefinition | eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition | |
return | eZ\Publish\SPI\Search\Field[] |
public getIndexDefinition ( ) : eZ\Publish\SPI\Search\FieldType[] | ||
return | eZ\Publish\SPI\Search\FieldType[] |