mrpasserby
08-14-2021, 01:17 PM
hi I'm trying to design new full text search engine as product but i'm not able to disable search indexing that come with vB5 ..
so this file core.php in vbdbsearch folder is responsible for index text for search function called :
public function indexText($node, $title, $text, $forceupdate = false)
{...
but not sure where this function called i search the vb5 script couldn't find where this function called so i may disable it and use my own search index using hooks can some one tell me whrere this function called for example if we update node content in createcontent.php its using like this:
$updateResult = $api->callApi($apilib, 'update', array($nodeid, $data));
but how this function trigger indexText function i tried to trace it to fined where indexText function called when node content update can some one help me with that thank you ..
so this file core.php in vbdbsearch folder is responsible for index text for search function called :
public function indexText($node, $title, $text, $forceupdate = false)
{...
but not sure where this function called i search the vb5 script couldn't find where this function called so i may disable it and use my own search index using hooks can some one tell me whrere this function called for example if we update node content in createcontent.php its using like this:
$updateResult = $api->callApi($apilib, 'update', array($nodeid, $data));
but how this function trigger indexText function i tried to trace it to fined where indexText function called when node content update can some one help me with that thank you ..