New table in custom extension , indexed ?

Author Message

Jean-Yves Zinsou

Friday 22 October 2010 1:33:24 am

Hi all,

i am not familiar with this problematic, i am planing to make a custom extension and create a new table as spotted un this article

http://share.ez.no/learn/ez-publish/an-introduction-to-developing-ez-publish-extensions/%28page%29/7

I would like to know if my rows in my new table will be indexed by some kind of black magic or not?

And if not how to make them indexed ?

Thanks for any tips !

Do Androids Dream of Electric Sheep?
I dream of eZpubliSheep....
------------------------------------------------------------------------
http://www.alma.fr

Paul Borgermans

Friday 22 October 2010 2:01:32 am

You will have to create the black magic yourself.

Only custom datatypes have a function to be implemented (metaData()) that will be used by the indexing calls automatically (when objects are added/updated/deleted)

To index them, you will need to write your own cronjob or so.

Are you using eZ Find (2.3)? If so, there are other options: you can index this table separately from the content objects and use extra (custom) search parameters

hth

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Jean-Yves Zinsou

Friday 22 October 2010 6:44:24 am

Black magic, black magic,

I am going to summon the dark ezpublish lords right away .

Thanx Paul for your answer.

Do Androids Dream of Electric Sheep?
I dream of eZpubliSheep....
------------------------------------------------------------------------
http://www.alma.fr

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