Add custom pivot fields to a resource’s search index (map) Result is a list of {module, props} pairs. This will update a table “pivot_<module>”. You must ensure that the table exists.
Return:
#custom_pivot{}
m_rsc:resource_id()