diff --git a/data/init.sql b/data/init.sql index 0cf1607..4d3b88e 100644 --- a/data/init.sql +++ b/data/init.sql @@ -8,6 +8,8 @@ CREATE TABLE IF NOT EXISTS documents ( "offset" BIGINT, -- Byte offset in the file length BIGINT, -- Length of the compressed record doc_length INT DEFAULT 0, -- Number of words in the document + title TEXT, -- Page title extracted from HTML + snippet TEXT, -- Short text preview (first ~200 chars) content_hash VARCHAR(64) -- To detect duplicates );