I currently have a diagnosis table. I want code and description fields to be searchable with FTS. As I understand it, FTS tables do not support indexes, and I really need to quickly find the Diagnostic Diagnosis ID. Should I create a second virtual table with all the duplicate data for full-text search, or am I missing a solution in which I do not need to duplicate all my code codes and descriptions?
CREATE TABLE Diagnosis (
diagnosisID INTEGER PRIMARY KEY NOT NULL,
code TEXT,
collect INTEGER NOT NULL,
description TEXT
);
source
share