Product Documentation

Full-Text Search

Previous Topic

Next Topic

ctdbFTSearchOn

Declaration

CTDBRET ctdbFTSearchOn(CTHANDLE Handle, pTEXT query, NINT mode)

Description

Set up a new Full-Text Search.

  • Handle is a record handle (CTDBRECORD)
  • query is the text to locate
  • mode should be set to 0.

Remember: 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

Mode

Code

Description

CTDBRET_NOTFTS

4149

Not a Full-Text Search handle

CTDBRET_FTS_DEFINED

4150

Full-Text Search already defined on table

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

See Also

TOCIndex