ctdbSetFTICndxExpr
Declaration
CTDBRET ctdbDECL ctdbSetFTICndxExpr(CTHANDLE Handle, pTEXT conditionExpr)
Parameters:
Description
Set the conditional expression for this Full Text Index.
This function is very similar to the ctdbSetIndexCndxExpr function used on regular indexes.
If this function is called on an open table, it verifies that the expression is valid.
Remember: The Full-Text Index must be committed before it can be used. An FTI cannot be created and dropped in the same transaction.
Addition to ctdbSetFTIOption
Alternatively, a new option for ctdbSetFTIOption allows you to set a conditional expression for an existing Full-Text Index (FTI):
Return Values
Value |
Symbolic Constant |
Explanation |
---|---|---|
0 |
CTDBRET_OK |
Successful operation. |
See c-tree Plus Error Codes for a complete listing of valid c-tree Plus error values.
See Also