Forums / Developer / Search Result problem

Search Result problem

Author Message

Bourelly Frederic

Thursday 25 January 2007 6:04:16 am

Hi ,

i have 2 questions:

1) When i use the search to find some objects/nodes, it only return the main node of the object. What must i do to say to eZ to return all nodes of my object which is searched?
I'll make a kernel hack (by deleting : ezcontentobject_tree.node_id = ezcontentobject_tree.main_node_id in the search query) in the file : ezsearchengine.php

2) Is it possible to "Re-Index" the "search tables" (ezsearch_word , ezsearch_object_word_link) ? Cause i see that when i create a new content, it automatically insert data in these tables, tables that i have truncate some mounths ago.

Thanx all for your replies.

Regards, Fred

Ɓukasz Serwatka

Thursday 25 January 2007 11:45:51 pm

Ad.1 )

Feel free to submit new enhancement in issue tracker.
http://ez.no/community/bugs

Ad.2 )
Yes. From eZ Publish root folder run CLI script:

$ php update/common/scripts/updatesearchindex.php --help

--help will tell you about parameters.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog