Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

Aditional Indexing of Data and Meta-data

The objective of this document is to provide the relationship between eZ Publish Fields Name and the Raw Solr Fields Name (metadata attributes). It can be useful for filtering, sorting and facets.

This information is hard coded.

The rule for the raw Solr fieldname is:

"meta_" + <identifier> + "_" + <suffix>

The suffix depends on the type, as can be seen in the following tables:

Object level meta attributes:

eZ Publish Field Name

Data Type

Raw Solr Fieldname

id

sint

meta_id_si

class_name

mstring

meta_class_name_ms

section_id

sint

meta_section_id_si

owner_id

sint

meta_owner_id_si

contentclass_id

sint

meta_contentclass_id_si

current_version

sint

meta_current_version_si

remote_id

mstring

meta_remote_id_ms

class_identifier

mstring

meta_class_identifier_ms

main_node_id

sint

meta_node_id_si

modified

date

meta_modified_dt

published

date

meta_published_dt

main_parent_node_id

sint

meta_main_parent_node_id_si

Node attributes (main node only)

Data

Data Type

Raw Solr fieldname

node_id

sint

meta_node_id_si

path_string

mstring

meta_path_string_ms

url_alias

mstring

meta_url_alias_ms

is_hidden

boolean

meta_is_hidden_b

sort_field

mstring

meta_sort_field_ms

is_invisible

boolean

meta_is_invisible_b

sort_field

mstring

meta_sort_field_ms

sort_order

mstring

meta_sort_order_ms

priority

sint

meta_priority_si

depth

sint

meta_depth_si

view_count

sint

meta_view_count_si

search  array_merge( array( 'guid'

mstring

meta_search  array_merge( array( 'guid'_ms

installation_id

mstring

meta_installation_id_ms

installation_url

mstring

meta_installation_url_ms

name

text

meta_name_t

sort_name

mstring

meta_sort_name_ms

anon_access

boolean

meta_anon_access_b

language_code

mstring

meta_language_code_ms

available_language_codes

mstring

meta_available_language_codes_ms

main_url_alias

mstring

meta_main_url_alias_ms

main_path_string

mstring

meta_main_path_string_ms

owner_name

text

meta_owner_name_t

owner_group_id

sint

meta_owner_group_id_si

path

sint

meta_path_si

object_states

sint

meta_object_states_si

In addition, a specific facet meta field is also available on the owner name (of an object):

Data

Data Type

Raw Solr fieldname

owner_name

string

meta_owner_na

Ricardo Correia (10/09/2013 9:50 am)

Ricardo Correia (10/09/2013 9:50 am)


Comments

There are no comments.