Initialize the free text index with a name, an operational directory and an optional backup directory. These parameters initialize the underlying hzIsam.
| Return Type | Function name | Arguments |
|---|---|---|
| hzEcode | hdbIndexText::Init | (hzString&,hzString&,hzString&,uint32_t,) |
Declared in file: hzDatabase.h
Defined in file : hdbIndex.cpp
Function Logic:
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 ;
}