Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.89 KB | None | 0 0
  1. CREATE TABLE `search_index` (
  2.   `word` varchar(50) NOT NULL DEFAULT '' COMMENT 'The search_total.word that is associated with the search item.',
  3.   `sid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'The search_dataset.sid of the searchable item to which the word belongs.',
  4.   `langcode` varchar(12) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL DEFAULT '' COMMENT 'The languages.langcode of the item variant.',
  5.   `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.',
  6.   `score` float DEFAULT NULL COMMENT 'The numeric score of the word, higher being more important.',
  7.   PRIMARY KEY (`word`,`sid`,`langcode`,`type`),
  8.   KEY `sid_type` (`sid`,`langcode`,`type`)
  9. ) 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