It's not possible to search in embed objects

Author Message

Pierre Tissot

Wednesday 10 September 2008 5:26:00 am

Hi:

It's possible to search in embed objects present in XML block?

I have the following problem, one page has one or more embed-inline object, so in this page you see the content and the title(s) of the embed-object(s). The problem is when you make one search (with the ez search engine) with one of this titles, the object itself is return, but the pages where is added are not in the result. Is there any way to force this search, it's very difficult to explain to a client that Ez publish cannot find a word that the client is seing on the page.

Best regards
PiR

Guido Ehlert

Monday 24 November 2008 11:52:03 pm

Hi Pierre,

same problem here. I found the thread http://ez.no/developer/forum/developer/how_to_make_embed_objects_findable_for_the_search_engine with the statement this were simply not supported. :-(

I have a similar setup, where images and their titles are embedded in a XML block. While users are allowed to see this embedded images (and their titles), they do not have access to the image objects themselves. As a result, the search results are heavily incomplete.

Any ideas or workarounds anybody?

Regards,
Guido

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 18 2025 11:23:54
Script start
Timing: Jan 18 2025 11:23:54
Module start 'layout'
Timing: Jan 18 2025 11:23:54
Module start 'content'
Timing: Jan 18 2025 11:23:55
Module end 'content'
Timing: Jan 18 2025 11:23:55
Script end

Main resources:

Total runtime0.7380 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 588.0469152.6406
Module start 'layout' 0.00670.0033 740.687539.4766
Module start 'content' 0.01010.7264 780.1641459.3516
Module end 'content' 0.73650.0015 1,239.51568.1250
Script end 0.7380  1,247.6406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4575160.0002
Check MTime0.00140.1864160.0001
Mysql Total
Database connection0.00070.095810.0007
Mysqli_queries0.696994.4206540.0129
Looping result0.00050.0731520.0000
Template Total0.707895.920.3539
Template load0.00190.251520.0009
Template processing0.705995.646220.3529
Template load and register function0.00020.025110.0002
states
state_id_array0.00080.109810.0008
state_identifier_array0.00080.113120.0004
Override
Cache load0.00150.2001150.0001
Sytem overhead
Fetch class attribute can translate value0.00110.143220.0005
Fetch class attribute name0.00150.204020.0008
XML
Image XML parsing0.00030.034520.0001
class_abstraction
Instantiating content class attribute0.00000.000520.0000
General
dbfile0.00060.0832100.0001
String conversion0.00000.001140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs