Perform a search on the freetext index and place the resulting set of document ids into the supplied bitmap (arg 1). The supplied criteria (arg 2) must comprise at least one whole word and may comprise a boolean expression.
| Return Type | Function name | Arguments |
|---|---|---|
| hzEcode | hdbIndexText::Eval | (hzIntset&,hzString&,) |
Declared in file: hzDatabase.h
Defined in file : hdbIndex.cpp
Function Logic:
Function body:
hzEcode hdbIndexText::Eval (hzIntset& result)hzString& criteria,
{
// Perform a search on the freetext index and place the resulting set of document ids into the supplied bitmap (arg 1). The supplied criteria
// (arg 2) must comprise at least one whole word and may comprise a boolean expression.
_hz_sqle_expr exp ; // Working SQL expression
hzEcode rc ; // Return code
rc = exp.Parse(result, criteria) ;
if (rc != E_OK)
return rc ;
exp.m_pIndex = this ;
return exp.Evaluate(result) ;
}