freetextindex Table (46)

This is the index table for the free text search function. Each word in FreeTextWords can have multiple occurrences in this table. Each record in this table points to one occurrence of the word, and points to both the table in which the word occurs (which might be contact or text), and also a pointer to the owner table (which is one of contact, person, project, appointment or sale).

Fields

NameDescriptionTypeNull
freetextindex_idPrimary keyPK
freetextwords_idReference to wordFK freetextwords
table_idSource table number - could be main (contact, person, etc) or sub-tables like address, emailTableNumber
record_idSource record - the row that contains the word. Might be contact record, or an address or phoneRecordId
ownertable_idLogical source table (high-level), like contact or projectTableNumber
ownerrecord_idLogical source record. The contact, project, sale that the source belongs to.RecordId
infileWord found in file (0=word found in database)UShort
contact_idSet for contacts and person records to allow cross-table free-text searches. 0 for non-contact, non-personFK contact

freetextindex table relationship diagram

Indexes

FieldsTypesDescription
freetextindex_idPKUnique
table_id, record_idTableNumber, RecordIdIndex
freetextwords_id, ownertable_idFK, TableNumberClustered
contact_idFKIndex
ownerrecord_id, ownertable_id, freetextwords_idRecordId, TableNumber, FKIndex

Relationships

TableDescription
contactCompanies and Organizations.
freetextwordsThis table contains the word list (automatically updated by the indexer) for the free-text search. Words are in UPPERCASE and truncated to 9 significant characters. Indexed words, dynamically updated by the freetext index

Replication Flags

  • Copy to satellite and travel prototypes.

Security Flags

  • No access control via user’s Role.