\mfIndexable

List the methods an indexable subclass of dbRecord should implement to be indexed in the database.

A search engine index features the following columns : 'class_name','object_uid','title','digest','ressource_url','tags'

Summary

Methods
Constants
index()
indexAll()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

index()

index() : mixed

Indexes the current record by gathering and filtering from this record the pertinent value and feed them to the indexer by calling the searchIndexer::indexItem($this,$title,$digest,$tags,$ressourceUrl); The the record page for an exemple of an advanced implementation.

Returns

mixed

indexAll()

indexAll() : mixed

Indexes all the records of the current class. This function is called when refreshing the whole index of the website or application

Returns

mixed