Forums / Developer / eZfind and packed data

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

eZfind and packed data

Author Message

Fabien Mas

Thursday 17 September 2009 6:56:55 am

Hi,
I would like to generate a xml file with the meta-data of my object
Here is the code :

...
   foreach ( $currentVersion->contentObjectAttributes() as $attribute )
    {
        $classAttribute = $attribute->contentClassAttribute();
        if ( $classAttribute->attribute( "is_searchable" ) == 1 )
        {
            // Fetch attribute translations
            $attributeTranslations = $attribute->fetchAttributeTranslations();

            foreach ( $attributeTranslations as $translation )
            {
                // here is the text !!
                $text =$translation->metaData(); 
            }
        }
     }
...

When I index an pdf file using ezfind & solr, my "metadata text" is packed.
I have only some #####

How can I my unpacked text ? Do i have to some a request to solr ?
Any help is welcome :)

Fabien