Forums / Suggestions / Search using objectrelation attributes

Search using objectrelation attributes

Author Message

Pablo C. Vergara Castro

Tuesday 29 March 2005 12:08:35 am

When I mark searchables an attribute with a objectrelation data type and attributes of another data type, happens me that, when adding text or integers on attributes that are not of the objectrelation type, this text is also added in the search terms for the attribute of the type objectrelation.

For example, I have a class called "machine" with some attributes marked as searchables this attributes have text line (Attr_Id=100), xmltext (Attr_Id=101 and (Attr_Id=102) and objecrelation data (Attr_Id=103 and Attr_Id=104) types.

When I create an object of machine class I can see the search terms linked with all the attributes by means of ezsearch_object_word_link table and found that the contentclass_attribute_id=103 and contentclass_attribute_id=104 are linked with all the words that I write in xmltext and text line attributes and with no term that can be appear searching by only objectlreation attributes.

In addition the attribute of objectrelation type <i>would</i> have to add in its search terms:

· Text or integers that appear in attributes marked like xsearchablesx in the objects to which they are related

· ID of the object to which it is related.

P.D. I think that the principal reason of the bug was the change maded in ezsearchengine.php, because in eZPublish 3.4.4 works better

Pablo C. Vergara Castro

Wednesday 11 May 2005 6:49:27 am

Nobody takes care of this suggestion? The worse thing of everything is than also I added this suggestion as bug and nobody have responded to me in two months, THIS IS INCREDIBLE: - (.

Frederik Holljen

Wednesday 11 May 2005 7:29:48 am

Pablo,

We receive many bug reports and although you can't see it they are all reviewed regularly. The bugs are given priority and handled accordingly. When we have resources to resolve the issue, the bug is fixed. Dependent on the priority the bug is given, this can take some time.

Thank you for your understanding

Dmitry Lakhtyuk

Thursday 12 May 2005 6:05:01 am

fixed in 3.6.0rc1(trunk rev.11788), also in 3.5.3(stable/3.5 rev.11789) and in 3.4.7(stable/3.4 rev.11791)

To update existing search indexes you should execute 'update/common/scripts/updatesearchindex.php' script.

eZ debug

Timing: Jan 18 2025 10:57:48
Script start
Timing: Jan 18 2025 10:57:48
Module start 'content'
Timing: Jan 18 2025 10:57:49
Module end 'content'
Timing: Jan 18 2025 10:57:49
Script end

Main resources:

Total runtime0.5460 sec
Peak memory usage4,096.0000 KB
Database Queries199

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0096 588.9609180.8281
Module start 'content' 0.00960.4224 769.7891550.7969
Module end 'content' 0.43200.1139 1,320.5859335.1875
Script end 0.5459  1,655.7734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00480.8836210.0002
Check MTime0.00150.2814210.0001
Mysql Total
Database connection0.00180.332410.0018
Mysqli_queries0.477587.45431990.0024
Looping result0.00190.35001970.0000
Template Total0.514394.220.2571
Template load0.00210.387720.0011
Template processing0.512193.799920.2561
Template load and register function0.00020.043010.0002
states
state_id_array0.00090.173110.0009
state_identifier_array0.00060.109920.0003
Override
Cache load0.00180.3273200.0001
Sytem overhead
Fetch class attribute can translate value0.00150.274240.0004
Fetch class attribute name0.00130.242350.0003
XML
Image XML parsing0.00110.208540.0003
class_abstraction
Instantiating content class attribute0.00000.002050.0000
General
dbfile0.00310.5596270.0001
String conversion0.00000.000930.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
4content/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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs