Initialize the free text index with a name, an operational directory and an optional backup directory. These parameters initialize the underlying hzIsam.

Return TypeFunction nameArguments
hzEcodehdbIndexText::Init(hzString&,hzString&,hzString&,uint32_t,)

Declared in file: hzDatabase.h
Defined in file : hdbIndex.cpp

Function Logic:

0:START 1:unknown 2:Return hzerr(rc,Failed on account of ISAM init) 3:Return rc

Function body:

hzEcode hdbIndexText::Init (hzString& name)hzString& opdir, hzString& backup, uint32_t cacheMode, 
{
   //  Initialize the free text index with a name, an operational directory and an optional backup directory. These parameters initialize the
   //  underlying hzIsam.
   //  
   _hzfunc("hdbIndexText::Init") ;
   hzEcode rc = E_OK ;     //  Return code
   //  rc = m_Isam.Init(name, opdir, backup, cacheMode) ;
   if (rc != E_OK)
       return hzerr(rc, "Failed on account of ISAM init") ;
   return rc ;
}