Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CREATE TABLE `search_index` (
- `word` varchar(50) NOT NULL DEFAULT '' COMMENT 'The search_total.word that is associated with the search item.',
- `sid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'The search_dataset.sid of the searchable item to which the word belongs.',
- `langcode` varchar(12) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL DEFAULT '' COMMENT 'The languages.langcode of the item variant.',
- `type` varchar(64) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL COMMENT 'The search_dataset.type of the searchable item to which the word belongs.',
- `score` float DEFAULT NULL COMMENT 'The numeric score of the word, higher being more important.',
- PRIMARY KEY (`word`,`sid`,`langcode`,`type`),
- KEY `sid_type` (`sid`,`langcode`,`type`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='Stores the search index, associating words, items andβ¦';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement