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 TypeFunction nameArguments
hzEcodehdbIndexText::Eval(hzIntset&,hzString&,)

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

Function Logic:

0:START 1:rc 2:unknown 3:Return rc 4:exp 5:Return exp.Evaluate(result)

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) ;
}