From ac72b2553b6e8e30cbed6ec8f4a1603fb73f3fbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petar=20=C5=A0panja?= Date: Tue, 17 Feb 2015 11:41:39 +0100 Subject: [PATCH] EZP-23941: move searchable field map to storage --- Persistence/Content/Type/Handler.php | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/Persistence/Content/Type/Handler.php b/Persistence/Content/Type/Handler.php index 53b0c2cea..00a530925 100644 --- a/Persistence/Content/Type/Handler.php +++ b/Persistence/Content/Type/Handler.php @@ -280,4 +280,28 @@ public function updateFieldDefinition( $contentTypeId, $status, FieldDefinition * @return void */ public function publish( $contentTypeId ); + + /** + * Returns content type, field definition and field type mapping information + * for search engine usage. Only searchable field definitions will be included + * in the returned data. + * + * Returns an array in the form: + * + * + * array( + * "" => array( + * "" => array( + * "field_definition_id" => "", + * "field_type_identifier" => "", + * ), + * ... + * ), + * ... + * ) + * + * + * @return array + */ + public function getSearchableFieldMap(); }