30 Mar
2009
30 Mar
'09
8:59 p.m.
On 30-Mar-09, at 7:02 AM, Ámon Tamás wrote:
First I like to use the hook_update_index, but it only can to work with node-s, or if I like to insert other content I must use an other type in search_index().
'node' is just a key for the content. You should be able to call search_index on whatever content you want. If you look at the function comments you'll see it's not bound to nodes specifically. search_index($unique_id, 'my_external_content', $some_fetched_text_from_external_site); --Andrew