Property | Type | Description | |
---|---|---|---|
$fieldValueMapper | Field value mapper. | ||
$nameGenerator | Field name generator. |
Method | Description | |
---|---|---|
__construct ( |
||
getIndexDocument ( |
Returns document _source that can be used for (bulk) indexing. | |
getIndexMetadata ( |
Returns bulk metadata for creating a new document or replacing an existing document. |
Method | Description | |
---|---|---|
getDocumentHash ( |
Converts given $document to a hash format that can be JSON encoded to get a document _source. |
public __construct ( |
||
$fieldValueMapper | ||
$nameGenerator |
protected getDocumentHash ( |
||
$document | ||
return | array |
public getIndexDocument ( |
||
$document | ||
return | string |
public getIndexMetadata ( |
||
$document | ||
return | string |
protected FieldValueMapper,eZ\Publish\Core\Search\Common $fieldValueMapper | ||
return |