Product Documentation

Full-Text Search

Previous Topic

Next Topic

ctdbAddFTI

Declaration

CTHANDLE ctdbAddFTI(CTHANDLE Handle, pTEXT name)

Description

Add a new Full-Text Search index to a table.

  • Handle is a table handle (CTDBTABLE)
  • name is an Index name

Note: The Full-Text Index must be committed before it can be used. An FTI cannot be created and dropped in the same transaction.

Return Values

On success returns the Full-Text Search handle.

On failure returns NULL.

See FairCom DB Error Codes for a complete listing of valid FairCom DB error values.

See Also

TOCIndex