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.

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