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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 30 2025 21:44:25
Script start
Timing: Jan 30 2025 21:44:25
Module start 'layout'
Timing: Jan 30 2025 21:44:25
Module start 'content'
Timing: Jan 30 2025 21:44:25
Module end 'content'
Timing: Jan 30 2025 21:44:25
Script end

Main resources:

Total runtime0.0325 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 588.1250151.2109
Module start 'layout' 0.00620.0038 739.3359220.6719
Module start 'content' 0.01000.0205 960.0078993.7734
Module end 'content' 0.03050.0019 1,953.781329.9922
Script end 0.0324  1,983.7734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00309.2116140.0002
Check MTime0.00123.7446140.0001
Mysql Total
Database connection0.00082.581110.0008
Mysqli_queries0.00299.036130.0010
Looping result0.00000.033810.0000
Template Total0.00144.410.0014
Template load0.00113.392010.0011
Template processing0.00030.951910.0003
Override
Cache load0.00082.338010.0008
General
dbfile0.00030.876380.0000
String conversion0.00000.022040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs