search/plugins/ezsolr/ezsolr.php
static function getMetaAttributeType( $name, $context = 'search' )
    {


        $attributeList = array( 'search' => array_merge( array( 'guid' => 'mstring',
                                             'installation_id' => 'mstring',
                                             'installation_url' => 'mstring',
                                             'name' => 'text',
                                             'sort_name' => 'mstring',
                                             'anon_access' => 'boolean',
                                             'language_code' => 'mstring',
                                             'available_language_codes' => 'mstring',
                                             'main_url_alias' => 'mstring',
                                             'main_path_string' => 'mstring',
                                             'owner_name' => 'text',
                                             'owner_group_id' => 'sint',
                                             'path' => 'sint',
                                             'object_states' => 'sint',
                                             'visible_path' => 'sint',
                                             'hidden_path' => 'sint',
                                             'visible_path_string' => 'mstring',
                                             'hidden_path_string' => 'mstring' ),
                                      self::metaAttributes(),
                                      self::nodeAttributes() ),
                                'facet' =>  array(
                                             'owner_name' => 'string' ),
                                'filter' => array(),
                                'sort' => array() );
        if ( ! empty( $attributeList[$context][$name] ) )
        {
            return $attributeList[$context][$name];
        }
        elseif ( ! empty( $attributeList['search'][$name] ) )
        {
            return $attributeList['search'][$name];
        }
        else
        {
            return null;
        }
        //return $attributeList[$name];
    }
static function getMetaAttributeType( $name, $context = 'search' )
    {


        $attributeList = array( 'search' => array_merge( array( 'guid' => 'mstring',
                                             'installation_id' => 'mstring',
                                             'installation_url' => 'mstring',
                                             'name' => 'text',
                                             'sort_name' => 'mstring',
                                             'anon_access' => 'boolean',
                                             'language_code' => 'mstring',
                                             'available_language_codes' => 'mstring',
                                             'main_url_alias' => 'mstring',
                                             'main_path_string' => 'mstring',
                                             'owner_name' => 'text',
                                             'owner_group_id' => 'sint',
                                             'path' => 'sint',
                                             'object_states' => 'sint',
                                             'visible_path' => 'sint',
                                             'hidden_path' => 'sint',
                                             'visible_path_string' => 'mstring',
                                             'hidden_path_string' => 'mstring' ),
                                      self::metaAttributes(),
                                      self::nodeAttributes() ),
                                'facet' =>  array(
                                             'owner_name' => 'string' ),
                                'filter' => array(),
                                'sort' => array() );
        if ( ! empty( $attributeList[$context][$name] ) )
        {
            return $attributeList[$context][$name];
        }
        elseif ( ! empty( $attributeList['search'][$name] ) )
        {
            return $attributeList['search'][$name];
        }
        else
        {
            return null;
        }
        //return $attributeList[$name];
    }
static function getMetaAttributeType ( $ name , $ context = 'search' ) { $ attributeList = array ( 'search' => array_merge ( array ( 'guid' => 'mstring' , 'installation_id' => 'mstring' , 'installation_url' => 'mstring' , 'name' => 'text' , 'sort_name' => 'mstring' , 'anon_access' => 'boolean' , 'language_code' => 'mstring' , 'available_language_codes' => 'mstring' , 'main_url_alias' => 'mstring' , 'main_path_string' => 'mstring' , 'owner_name' => 'text' , 'owner_group_id' => 'sint' , 'path' => 'sint' , 'object_states' => 'sint' , 'visible_path' => 'sint' , 'hidden_path' => 'sint' , 'visible_path_string' => 'mstring' , 'hidden_path_string' => 'mstring' ) , self :: metaAttributes ( ) , self :: nodeAttributes ( ) ) , 'facet' => array ( 'owner_name' => 'string' ) , 'filter' => array ( ) , 'sort' => array ( ) ) ; if ( ! empty ( $ attributeList [ $ context ] [ $ name ] ) ) { return $ attributeList [ $ context ] [ $ name ] ; } elseif ( ! empty ( $ attributeList [ 'search' ] [ $ name ] ) ) { return $ attributeList [ 'search' ] [ $ name ] ; } else { return null ; } //return $attributeList[$name]; }
Get meta attribute Solr document field type

@param  string name Meta attribute name
@param  string context search, facet, filter, sort

@return string Solr document field type. Null if meta attribute type does not exists.
Get meta attribute Solr document field type