{"id":6565,"date":"2018-12-11T12:29:41","date_gmt":"2018-12-11T20:29:41","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/?p=6565"},"modified":"2025-06-13T23:42:59","modified_gmt":"2025-06-14T06:42:59","slug":"n1ql-and-search-how-to-leverage-fts-index-in-n1ql-query","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/ko\/n1ql-and-search-how-to-leverage-fts-index-in-n1ql-query\/","title":{"rendered":"N1QL \ubc0f \uac80\uc0c9: N1QL\uc5d0\uc11c \uc804\uccb4 \ud14d\uc2a4\ud2b8 \uac80\uc0c9(FTS) \uc778\ub371\uc2a4 \ud65c\uc6a9\ud558\uae30"},"content":{"rendered":"<p>Couchbase v6.5\uc5d0\uc11c\ub294 \uc774\uc81c \uc804\uccb4 \ud14d\uc2a4\ud2b8 \uac80\uc0c9\uc774 Couchbase N1QL \ucffc\ub9ac \uad6c\uc131\uc5d0 \ud1b5\ud569\ub418\uc5c8\uc2b5\ub2c8\ub2e4. \uc774\uc81c \uace0\uac1d\uc740 N1QL\uc5d0\uc11c \uc9c1\uc811 FTS \uc778\ub371\uc2a4\ub97c \ud65c\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \uac1c\ubc1c\uc790\ub294 \ub2e8\uc77c API\ub85c N1QL\uc758 \uc815\ud655\ud55c \uc220\uc5b4 \uc77c\uce58\uc640 FTS\uc758 \uac15\ub825\ud55c \uac80\uc0c9\uc744 \uacb0\ud569\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<p>\uad00\uacc4\ud615 \ub370\uc774\ud130\ubca0\uc774\uc2a4\ub97c \uc0ac\uc6a9\ud558\ub294 \ub9ce\uc740 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc790\uac00 \uc9c1\uba74\ud558\ub294 \ud55c \uac00\uc9c0 \uc9c0\uc18d\uc801\uc778 \uacfc\uc81c\ub294 \ucffc\ub9ac \uc131\ub2a5\uc785\ub2c8\ub2e4. \ucffc\ub9ac \uc131\ub2a5 \ubb38\uc81c\ub97c \ud574\uacb0\ud558\uae30 \uc704\ud574\uc11c\ub294 \ub354 \ud070 \ub370\uc774\ud130\ubca0\uc774\uc2a4 \uc11c\ubc84\ub098 \ub354 \ub098\uc740 \uc778\ub371\uc2a4\ub97c \ud655\ubcf4\ud558\ub294 \ub4f1 \uad00\uacc4\ud615 \ub370\uc774\ud130\ubca0\uc774\uc2a4\uac00 \uc81c\uacf5\ud558\ub294 \uae30\ub2a5\uc73c\ub85c \uc81c\ud55c\ub418\ub294 \uacbd\uc6b0\uac00 \ub9ce\uc2b5\ub2c8\ub2e4.<\/p>\n<p>Couchbase\ub97c \uc0ac\uc6a9\ud558\uba74 N1QL \ucffc\ub9ac \uc131\ub2a5\ub3c4 \uc720\uc0ac\ud55c \uad6c\uc131 \uc694\uc18c\uc5d0 \uc758\uc874\ud569\ub2c8\ub2e4. \uadf8\ub7ec\ub098 \uad00\uacc4\ud615 RDBMS\uc640 \ub2ec\ub9ac, \uc11c\ube44\uc2a4 \uaca9\ub9ac \uc544\ud0a4\ud14d\ucc98\uc758 Couchbase\ub294 \ucffc\ub9ac \ubc0f \uc778\ub371\uc2a4 \uc11c\ube44\uc2a4\ub97c \ubaa8\ub450 \ub3c5\ub9bd\uc801\uc73c\ub85c \ud655\uc7a5\ud560 \uc218 \uc788\ub2e4\ub294 \uac83\uc744 \uc758\ubbf8\ud569\ub2c8\ub2e4. \uc801\uc808\ud55c \ud06c\uae30 \uc870\uc815\uacfc \uc6a9\ub7c9 \uacc4\ud68d\uc744 \ud1b5\ud574 Couchbase\ub294 \ub2e4\uc74c\uacfc \uac19\uc774 \ub9e4\uc6b0 \ube60\ub978 \uc131\ub2a5\uc744 \uc81c\uacf5\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. <a href=\"https:\/\/www.altoros.com\/blog\/the-nosql-technical-comparison-report-cassandra-datastax-mongodb-and-couchbase-server\/\">\uc54c\ud1a0\ub85c\uc2a4 NoSQL \ubca4\uce58\ub9c8\ud06c<\/a> \ubcf4\uace0\uc11c.<\/p>\n<h3>\ucffc\ub9ac \uc220\uc5b4\ub97c \ub118\uc5b4\uc11c - N1QL \ubc0f \uac80\uc0c9<\/h3>\n<p>\uace0\uac1d\uc740 \uc801\uc808\ud55c \uc778\ub371\uc2a4\ub97c \uc0ac\uc6a9\ud558\uc5ec \ucffc\ub9ac\uc5d0 \ub300\ud574 \ubc00\ub9ac\ucd08 \ub2e8\uc704\uc758 \uc751\ub2f5 \uc2dc\uac04\uc744 \ub2ec\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uadf8\ub7ec\ub098 Couchbase GSI \uc778\ub371\uc2a4\uc5d0\uc11c \uc0ac\uc6a9\ud558\ub294 \ucffc\ub9ac \uc220\uc5b4\ub97c \ubbf8\ub9ac \uc54c \uc218 \uc5c6\ub294 \uacbd\uc6b0\uac00 \uc788\uc2b5\ub2c8\ub2e4. \uc774\uc0c1\uc801\uc778 \uc194\ub8e8\uc158\uc740 \uc0ac\uc6a9 \uac00\ub2a5\ud55c \ucffc\ub9ac \uc220\uc5b4\uc758 \ubaa8\ub4e0 \uc870\ud569\uc5d0\uc11c \uc791\ub3d9\ud560 \uc218 \uc788\ub294 \uc778\ub371\uc2f1 \uc2dc\uc2a4\ud15c\uc744 \uac16\ucd94\ub294 \uac83\uc785\ub2c8\ub2e4.<\/p>\n<p>\uce74\uc6b0\uce58\ubca0\uc774\uc2a4 \uc801\uc751\ud615 \uc778\ub371\uc2f1\uc740 \uc774\ub7ec\ud55c \uc0ac\uc6a9 \uc0ac\ub840 \uc911 \ub9ce\uc740 \ubd80\ubd84\uc744 \ud574\uacb0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. Couchbase \uc804\uccb4 \ud14d\uc2a4\ud2b8 \uac80\uc0c9\uc740 \ubd88\uaddc\uce59\ud55c \ud328\ud134 \uc0ac\uc6a9 \uc0ac\ub840\uc5d0 \ub300\ud55c \ub610 \ub2e4\ub978 \uc811\uadfc \ubc29\uc2dd\uc785\ub2c8\ub2e4. \ubb38\uc11c\uc758 \ubaa8\ub4e0 \ud544\ub4dc\uc5d0 \ub300\ud574 \ud14d\uc2a4\ud2b8 \ubc0f \ud37c\uc9c0 \uac80\uc0c9 \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4.<\/p>\n<p>\uc544\ub798\uc758 \ud65c\ub3d9 \uad00\ub9ac \ubb38\uc11c\ub97c \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ud65c\ub3d9:<\/p>\n<ol>\n<li>\ud56d\uc0c1 \uace0\uac1d(\uacc4\uc815) \uc18c\uc720<\/li>\n<li>\uace0\uac1d \uc870\uc9c1\uc758 \uc5ec\ub7ec \uc5f0\ub77d\ucc98\ub97c \ubcf4\uc720\ud560 \uc218\ub3c4 \uc788\uc73c\uba70 \uc5ec\ub7ec \uc5f0\ub77d\ucc98 \ubc30\uc5f4\ub85c \ud45c\uc2dc\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li>\uc5ec\ub7ec \uc0ac\uc6a9\uc790\ub85c \ub300\ud45c\ub418\ub294 \uc5ec\ub7ec \ucc38\uac00\uc790\ub97c \ud3ec\ud568\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li>\uc57d\uc18d \ub610\ub294 \uc791\uc5c5 \uc720\ud615\uc77c \uc218 \uc788\uc73c\uba70, \ub458 \ub2e4 \uc81c\ubaa9, \uc2dc\uc791\uc77c, \ub9c8\uac10\uc77c \ub4f1\uacfc \uac19\uc740 \ud2b9\uc815 \ud574\ub2f9 \uc18d\uc131\uc774 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li>\uc791\uc5c5 \uc720\ud615\uc758 \ud65c\ub3d9\uc5d0\ub294 \ud560 \uc77c \ubaa9\ub85d\uc758 \ubc30\uc5f4\uc774 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-6600 size-full\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2019\/03\/Screen-Shot-2019-03-26-at-8.20.15-AM.png\" alt=\"sample json document for examples\" width=\"412\" height=\"356\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/03\/Screen-Shot-2019-03-26-at-8.20.15-AM.png 412w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/03\/Screen-Shot-2019-03-26-at-8.20.15-AM-300x259.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/03\/Screen-Shot-2019-03-26-at-8.20.15-AM-20x17.png 20w\" sizes=\"auto, (max-width: 412px) 100vw, 412px\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-6598 size-full\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2019\/03\/Screen-Shot-2019-03-26-at-8.18.22-AM.png\" alt=\"sample documents for examples\" width=\"492\" height=\"353\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/03\/Screen-Shot-2019-03-26-at-8.18.22-AM.png 492w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/03\/Screen-Shot-2019-03-26-at-8.18.22-AM-300x215.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/03\/Screen-Shot-2019-03-26-at-8.18.22-AM-20x14.png 20w\" sizes=\"auto, (max-width: 492px) 100vw, 492px\" \/><\/p>\n<h3>\uc0ac\uc6a9 \uc0ac\ub840<\/h3>\n<p>\ucf5c\uc13c\ud130\uc758 \uc11c\ube44\uc2a4 \ub2f4\ub2f9\uc790\uc778 John\uc740 \uace0\uac1d\uacfc \ud1b5\ud654\ud558\ub294 \ub3d9\uc548 \ubaa8\ub4e0 \uace0\uac1d \ud65c\ub3d9\uc744 \uac80\uc0c9\ud574\uc57c \ud569\ub2c8\ub2e4. \uace0\uac1d\uc740 John\uc774 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ucffc\ub9ac\ud558\uae30 \uc704\ud574 \uc544\ub798 \uac12 \uc911 \ud558\ub098 \ub610\ub294 \uc5ec\ub7ec \uac1c\ub97c \uc81c\uacf5\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<ol>\n<li>\ud65c\ub3d9 \uc81c\ubaa9:  \ucffc\ub9ac\ub294 \ud65c\ub3d9 \uc81c\ubaa9\uc758 \uc5b4\ub290 \uc704\uce58\uc5d0\uc11c\ub4e0 \uc774 \ud14d\uc2a4\ud2b8\uac00 \uc788\ub294 \ubaa8\ub4e0 \ud65c\ub3d9\uc744 \ubc18\ud658\ud574\uc57c \ud569\ub2c8\ub2e4.<\/li>\n<li>\uace0\uac1d \uc774\ub984: \uc785\ub825\ud55c \uace0\uac1d \uc774\ub984\uc774 \ubd88\uc644\uc804\ud560 \uc218 \uc788\uc73c\ubbc0\ub85c \ucffc\ub9ac\uc5d0\uc11c \uc640\uc77c\ub4dc\uce74\ub4dc\ub97c \uc0ac\uc6a9\ud558\uc5ec \uace0\uac1d \uc774\ub984\uacfc \uc77c\uce58\uc2dc\ucf1c\uc57c \ud569\ub2c8\ub2e4.<\/li>\n<li>\uc5f0\ub77d\ucc98 \uc774\ub984, \uc774\uba54\uc77c \ub610\ub294 \uc804\ud654 \uc5f0\ub77d\ucc98: \uace0\uac1d\uc740 \uc5f0\ub77d\ucc98 \uc138\ubd80 \uc815\ubcf4\ub97c \uc81c\uacf5\ud560 \uc218\ub3c4 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub7ec\ud55c \uc815\ubcf4\ub294 \ubd88\uc644\uc804\ud560 \uc218\ub3c4 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li>\ucc38\uc5ec\uc790 \uc774\ub984: \uace0\uac1d\uc740 \ub610\ud55c \uace0\uac1d\uacfc \uc0c1\ud638 \uc791\uc6a9\ud558\uace0 \ud65c\ub3d9\uc5d0 \ucc38\uc5ec\ud588\ub358 Acme\uc758 \uc9c1\uc6d0\uc778 \uacc4\uc815 \uad00\ub9ac\uc790\uc758 \uc774\ub984\uc744 \uc81c\uacf5\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li>\ud65c\ub3d9 \ub0a0\uc9dc: \uace0\uac1d\uc740 \ub2e4\uc591\ud55c \ud65c\ub3d9 \ub0a0\uc9dc\uc640 \uc2dc\uac04\uc744 \uc81c\uacf5\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li>\uc11c\ube44\uc2a4 \ub2f4\ub2f9\uc790\ub294 \uc704\uc758 \uc815\ubcf4 \uc911 \ud558\ub098 \uc774\uc0c1\uc744 \ubc1b\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ud328\ud134\uc740 \uace0\uc815\ub418\uc5b4 \uc788\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.<\/li>\n<li>\ucffc\ub9ac \uc751\ub2f5 \uc2dc\uac04\uc740 ~1\ucd08\uac00 \ub418\uc5b4\uc57c \ud569\ub2c8\ub2e4.<\/li>\n<li>\ub370\uc774\ud130 \uc591\uc740 \uc5f0\uac04 3\ubc31\ub9cc \uac74, \ubcf4\uc874 \uae30\uac04\uc740 3\ub144\uc785\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h3>\uc774 \uc815\ubcf4\ub97c \uac80\uc0c9\ud558\ub294 \ub370 \uc5b4\ub5a4 \uc5b4\ub824\uc6c0\uc774 \uc788\ub098\uc694?<\/h3>\n<ol>\n<li>\uace0\uac1d\uc774 \uc81c\uacf5\ud560 \uc218 \uc788\ub294 \ud544\ub4dc\ub294 \ucd5c\ub300 8\uac1c\uae4c\uc9c0\uc774\uba70, \uc774 \uc911 \ud544\uc218 \ud56d\ubaa9\uc740 \uc5c6\uc2b5\ub2c8\ub2e4. \uc774\ub294 \uc778\ub371\uc2a4 \uc120\ud0dd\uc744 \uc704\ud574 \uc778\ub371\uc2a4 \ub9ac\ub529 \ud0a4\uac00 \uc788\uc5b4\uc57c \ud558\uae30 \ub54c\ubb38\uc5d0 \ud6a8\uc728\uc801\uc778 GSI \uc778\ub371\uc2a4 \uc124\uacc4\uc5d0 \uc5b4\ub824\uc6c0\uc774 \ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uacb0\uacfc\uc801\uc73c\ub85c GSI \uc9c0\uc218\ub294 \ubaa8\ub4e0 \uc0ac\ub840\ub97c \ud3ec\uad04\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.<\/li>\n<li>\uc640\uc77c\ub4dc\uce74\ub4dc \ub9e4\uce6d: \uc81c\uacf5\ub41c \ud65c\ub3d9 \uc81c\ubaa9, \uace0\uac1d \ubc0f \uc5f0\ub77d\ucc98 \uc774\ub984, \uc774\uba54\uc77c \ub610\ub294 \uc804\ud654\uac00 \ubd88\uc644\uc804\ud560 \uc218 \uc788\uc73c\ubbc0\ub85c \uc815\ud655\ud55c N1QL \uc220\uc5b4 \ub9e4\uce6d \uae30\uc220\uc774 \uc791\ub3d9\ud558\uc9c0 \uc54a\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li>\uc5f0\ub77d\ucc98\uc640 \ucc38\uac00\uc790\ub294 \ubaa8\ub450 \ud65c\ub3d9\uc758 \ud558\uc704 \uac1d\uccb4\uc785\ub2c8\ub2e4. JSON \ub370\uc774\ud130 \ubaa8\ub378\uc5d0\uc11c \uc5f0\ub77d\ucc98\uc640 \ucc38\uac00\uc790\ub294 \ub450 \uac1c\uc758 \uac1c\ubcc4 \ubc30\uc5f4\ub85c \ud45c\ud604\ub429\ub2c8\ub2e4. \ucee4\ubc84\ub9ac\uc9c0 \uc778\ub371\uc2a4\uac00 \ud544\uc694\ud55c \uacbd\uc6b0 \ub450 \ubc30\uc5f4\uc758 \uc694\uc18c\ub97c \ud558\ub098 \uc774\uc0c1 \ud3ec\ud568\ud574\uc57c \ud569\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h3>\uc194\ub8e8\uc158<\/h3>\n<h4>1. \uac00\uc7a5 \uac04\ub2e8\ud55c \uc811\uadfc \ubc29\uc2dd\uc740 N1QL \uc220\uc5b4\ub97c \uc0ac\uc6a9\ud558\ub294 \uac83\uc785\ub2c8\ub2e4:<\/h4>\n<pre class=\"\">SELECT meta(a).id, a.title, a.startDate, a.account.name, a.contacts, a.participants\r\nFROM crm a \r\nWHERE \r\n  a.type='activity' \r\nAND a.activityType='Appointment'\r\nAND\r\n(\r\n    LOWER(a.title) LIKE '%artificial intelligence%'\r\nAND LOWER(a.account.name) LIKE '%collins%' \r\nAND ANY c in a.contacts SATISFIES LOWER(c.name) LIKE '%rogers%' END\r\nAND ANY c in a.contacts SATISFIES LOWER(c.email) = 'elliottpamela@gmail.com' END \r\nAND ANY c in a.contacts SATISFIES c.phone LIKE '%6816%' END\r\nAND ANY p in a.participants SATISFIES LOWER(p.name)LIKE '%james%' END \r\nAND a.startDate between '2016-08-29' AND '2016-08-30'\r\n)<\/pre>\n<p>\ub2e4\uc74c GSI \uc778\ub371\uc2a4\ub3c4 \ud544\uc694\ud569\ub2c8\ub2e4:<\/p>\n<pre class=\"lang:default decode:true\">CREATE INDEX crm_activity_appt_startDate_accid_dur ON `crm`(`activityType`,`startDate`,`accid`,`duration`) WHERE `type` = 'activity'\r\nCREATE INDEX act_account_name_type ON `crm`(lower((`account`).`name`)) WHERE `type` = 'activity'\r\nCREATE INDEX act_contacts_name_type ON `crm`(DISTINCT ARRAY lower(`c`.`name`) FOR c in contacts END) WHERE `type` = 'activity'\r\nCREATE INDEX act_contacts_email_type ON `crm`(DISTINCT ARRAY lower(`c`.`email`) FOR c in contacts END) WHERE `type` = 'activity'\r\nCREATE INDEX act_contacts_phone_type ON `crm`(DISTINCT ARRAY c.phone FOR c in contacts END) WHERE `type` = 'activity'\r\nCREATE INDEX act_participants_name_type ON `crm`(DISTINCT ARRAY lower(`p`.`name`) FOR p in participants END) WHERE `type` = 'activity'\r\n\r\n<\/pre>\n<p>\uc704\uc758 \ucffc\ub9ac\ub294 \ucffc\ub9ac \uc131\ub2a5\uc744 \uac1c\uc120\ud558\uae30 \uc704\ud574 \uc0ac\uc6a9 \uac00\ub2a5\ud55c \uc778\ub371\uc2a4 \uc911 \ud558\ub098 \ub610\ub294 \uc804\ubd80\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uadf8\ub7ec\ub098 \ucffc\ub9ac \uacc4\ud68d\uc774 IntersectScan \uc5f0\uc0b0\uc744 \uc0ac\uc6a9\ud574\uc57c \ud558\uae30 \ub54c\ubb38\uc5d0 \uc5ec\uc804\ud788 \uc131\ub2a5 \ubb38\uc81c\uac00 \uc788\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h4>2. FTS \uc9c0\uc218 \ud65c\uc6a9<\/h4>\n<p>Couchbase \uc804\uccb4 \ud14d\uc2a4\ud2b8 \uac80\uc0c9\uc740 \uc815\ud655\ud558\uc9c0 \uc54a\uc740 \uac80\uc0c9 \uae30\ub2a5\uacfc \uc6d0\ud558\ub294 \uc21c\uc11c\ub300\ub85c \ud544\ub4dc\ub97c \uac80\uc0c9\ud560 \uc218 \uc788\ub294 \uae30\ub2a5\uc73c\ub85c \uc778\ud574 \uc774 \uc0ac\uc6a9 \uc0ac\ub840\uc5d0 \ub3c4\uc6c0\uc774 \ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \uac80\uc0c9 \uae30\uc900\uc744 \ud3ec\uad04\ud560 \uc218 \uc788\ub294 FTS \uc0c9\uc778\uc785\ub2c8\ub2e4.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-6619 size-full\" src=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2019\/04\/Screen-Shot-2019-04-02-at-8.30.05-AM.png\" alt=\"couchbase dialog for setting up a full text search index\" width=\"602\" height=\"828\" srcset=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/04\/Screen-Shot-2019-04-02-at-8.30.05-AM.png 602w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/04\/Screen-Shot-2019-04-02-at-8.30.05-AM-218x300.png 218w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/04\/Screen-Shot-2019-04-02-at-8.30.05-AM-300x413.png 300w, https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/04\/Screen-Shot-2019-04-02-at-8.30.05-AM-15x20.png 15w\" sizes=\"auto, (max-width: 602px) 100vw, 602px\" \/><\/p>\n<h4>2.1 CURL \uc0ac\uc6a9 - Couchbase 5.5\uc5d0\uc11c \uc9c0\uc6d0\ub429\ub2c8\ub2e4.<\/h4>\n<pre class=\"lang:default decode:true\">SELECT meta(a).id, a.title,a.startDate, a.account.name, a.contacts, a.participants\r\nFROM CURL(\"https:\/\/localhost:8094\/api\/index\/all_acts\/query\", \r\n          {\"request\":\"POST\",\"header\":\"Content-Type: application\/json\", \"data\":\r\n          '{   \"explain\":false,\"fields\": [\"*\"],\r\n                \"highlight\": {},\r\n                \"query\": {\"conjuncts\":\r\n                      [  {\"field\":\"title\", \"match\": \"artificial intelligence\"} \r\n                      ,  {\"field\":\"contacts.name\", \"match\":\"rogers\"}\r\n                      ,  {\"field\":\"contacts.email\", \"match\":\"eliottpamela@gmail.com\"} \r\n                      ,  {\"field\":\"contacts.phone\", \"wildcard\":\"*6816*\"} \r\n                      ,  {\"field\":\"participants.name\", \"match\":\"james\"} \r\n                      ,  {\"field\":\"account.name\", \"match\":\"collins\"}\r\n                      ,  {\"field\":\"startDate\",\"start\": \"2016-08-29\", \"end\":\"2016-08-30\", \"inclusive_start\": true, \r\n                                      \"inclusive_end\": true} \r\n                      ] \r\n                  }\r\n          }',\r\n          \"user\":\"Administrator:password\"}) result\r\n          UNNEST result.hits h\r\n          INNER JOIN crm a ON (h.id = meta(a).id) AND a.type='activity'<\/pre>\n<h4>2.2 SEARCH_QUERY\ub97c \uc0ac\uc6a9\ud55c N1QL\/FTS \ud1b5\ud569 \uc2dc<\/h4>\n<pre class=\"\">SELECT meta(a).id, a.title,a.startDate, a.account.name, a.contacts, a.participants\r\nFROM SEARCH_QUERY(\"all_acts\",{\"explain\":false,\"fields\": [\"*\"],\"highlight\": {}, \r\n    \"query\": {\"conjuncts\":[ {\"field\":\"title\", \"match\": \"artificial intelligence\"} \r\n                          , {\"field\":\"contacts.name\", \"match\":\"rogers\"} \r\n                          ,  {\"field\":\"contacts.email\", \"match\":\"eliottpamela@gmail.com\"} \r\n                          ,  {\"field\":\"contacts.phone\", \"wildcard\":\"*6816*\"} \r\n                          ,  {\"field\": \"participants.name\", \"match\":\"james\"} \r\n                          ,  {\"field\": \"account.name\", \"match\":\"collins\"}\r\n                          ,  {\"field\": \"startDate\",\"start\": \"2016-08-29\", \"end\":\"2016-08-30\", \"inclusive_start\": true, \r\n                                   \"inclusive_end\": true}\r\n                          ] }}\r\n              ) as result\r\n          UNNEST result.hits h\r\n          INNER JOIN crm a ON (h.id = meta(a).id) AND a.type='activity'<\/pre>\n<h4>2.3 N1QL \uac80\uc0c9 \uc220\uc5b4\ub97c \uc0ac\uc6a9\ud55c N1QL\/FTS \ud1b5\ud569 \uc0ac\uc6a9 \uc2dc<\/h4>\n<pre class=\"\">SELECT meta(a).id, a.title,a.startDate, a.account.name, a.contacts, a.participants\r\nFROM crm a\r\nWHERE a.type='activity'\r\nAND a.activityType='Appointment'\r\nAND SEARCH(a,\r\n   {\"conjuncts\":\r\n     [  {\"field\":\"title\", \"match\": \"artificial intelligence\"},\r\n        {\"field\":\"contacts.name\", \"match\":\"rogers\"},\r\n        {\"field\":\"contacts.email\", \"match\":\"eliottpamela@gmail.com\"},\r\n        {\"field\":\"contacts.phone\", \"wildcard\":\"*6816*\"},\r\n        {\"field\": \"participants.name\", \"match\":\"james\"},\r\n        {\"field\": \"account.name\", \"match\":\"collins\"},\r\n        {\"field\": \"startDate\",\"start\": \"2016-08-29\", \"end\":\"2016-08-30\", \"inclusive_start\": true, \"inclusive_end\": true}\r\n     ]\r\n    }, \r\n    {\"index\":\"all_acts\"}) \/* good practice to provide the specific index name *\/<\/pre>\n<p><strong>\ucc38\uace0:<\/strong><\/p>\n<ol>\n<li>\uc704\uc758 \uc608\ub294 \ubaa8\ub4e0 \uc220\uc5b4\ub97c \ub2e8\uc77c SEARCH() \ud568\uc218\ub85c \uacb0\ud569\ud558\uae30 \uc704\ud574 \uc811\uc18d\uc0ac \uad6c\uc870\uc640 \ud568\uaed8 FTS \ubcf5\ud569 \ucffc\ub9ac\ub97c \ud65c\uc6a9\ud569\ub2c8\ub2e4. \ub2e4\uc74c\uc5d0 \ub300\ud55c \uc790\uc138\ud55c \ub0b4\uc6a9\uc740 Couchbase FTS \uc124\uba85\uc11c\ub97c \ucc38\uc870\ud558\uc138\uc694. <a href=\"https:\/\/docs.couchbase.com\/server\/6.0\/fts\/fts-query-types.html\">FTS \ucffc\ub9ac \uc720\ud615<\/a><\/li>\n<li>\uc704\uc758 \ubb38\uc740 \ud544\uc694\ud55c \uac80\uc0c9 \uc220\uc5b4\ub9cc \ud3ec\ud568\ud558\ub3c4\ub85d \ud504\ub85c\uadf8\ub798\ubc0d \ubc29\uc2dd\uc73c\ub85c \uad6c\uc131\ud574\uc57c \ud569\ub2c8\ub2e4.<\/li>\n<li>FTS \uc778\ub371\uc2a4 \ub514\uc790\uc778\uc5d0\ub294 SEARCH() \ud568\uc218\uc5d0\uc11c \uc0ac\uc6a9\ub418\ub294 \ud544\ub4dc\uac00 \ud3ec\ud568\ub418\uc5b4\uc57c \ud569\ub2c8\ub2e4.<\/li>\n<li>N1QL \uc220\uc5b4\u00a0<strong>a.type='activity'\u00a0<\/strong>\ub294 FTS \uc778\ub371\uc2a4 \uc120\ud0dd\uc744 \uc704\ud55c \ucffc\ub9ac\uc5d0 \ubc18\ub4dc\uc2dc \uc874\uc7ac\ud574\uc57c \ud569\ub2c8\ub2e4.<\/li>\n<\/ol>\n<p>N1QL SEARCH_QUERY \ubc0f SEARCH \uc220\uc5b4\ub294 Couchbase v6.5\uc5d0\uc11c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 N1QL\/FTS \ud1b5\ud569 \uae30\ub2a5\uc758 \uc77c\ubd80\uc774\uba70, \ubb38\uc11c\uac00 \uc81c\uacf5\ub418\uba74 \ube14\ub85c\uadf8\uc5d0 \uc5c5\ub370\uc774\ud2b8\ud560 \uc608\uc815\uc785\ub2c8\ub2e4.<\/p>\n<p>FTS \ucffc\ub9ac \uad6c\ubb38\uc5d0 \ub300\ud55c \uc790\uc138\ud55c \ub0b4\uc6a9\uc740 \ub2e4\uc74c\uacfc \uac19\uc774 \ud655\uc778\ud558\uc138\uc694. <a href=\"https:\/\/docs.couchbase.com\/server\/6.0\/fts\/full-text-intro.html\">https:\/\/docs.couchbase.com\/server\/6.0\/fts\/full-text-intro.html<\/a><\/p>\n<h4>N1QL \ubc0f \uac80\uc0c9 \uc694\uc57d:<\/h4>\n<ol>\n<li>N1QL\/FTS \ud1b5\ud569\uc744 \ud1b5\ud574 \ucffc\ub9ac\uc5d0\uc11c FTS \uac80\uc0c9 \uad6c\ubb38\uc744 \uac80\uc0c9 \uc220\uc5b4\ub85c \uc9c1\uc811 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li>N1QL \ucffc\ub9ac\uc5d0\uc11c FTS \uc778\ub371\uc2a4\ub97c \uc0ac\uc6a9\ud558\uba74 \uac01 \ucffc\ub9ac \ud328\ud134\uc5d0 \ub300\ud55c \uc815\ud655\ud55c \uc778\ub371\uc2a4\uac00 \ud544\uc694\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.<\/li>\n<li>N1QL\/FTS\ub294 \uac1c\ubc1c\uc790\uac00 \ucffc\ub9ac \uc131\ub2a5 \ubb38\uc81c\ub97c \ucc98\ub9ac\ud560 \ub54c \ud0d0\uc0c9\ud560 \uc218 \uc788\ub294 \ucd94\uac00 \uc635\uc158\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4.<\/li>\n<li>FTS \uc778\ub371\uc2a4\ub294 \uc5ec\ub7ec \ud544\ub4dc\ub97c \uc5b4\ub5a4 \uc21c\uc11c\ub85c\ub4e0 \uac80\uc0c9\ud574\uc57c \ud558\ub294 \uacbd\uc6b0\uc5d0 \uc801\ud569\ud569\ub2c8\ub2e4.<\/li>\n<li>FTS \uc778\ub371\uc2a4\ub294 \uc5ec\ub7ec \ubc30\uc5f4\uc758 \ud544\ub4dc\ub97c \uac80\uc0c9\ud574\uc57c \ud558\ub294 \uacbd\uc6b0\uc5d0 \uc801\ud569\ud569\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h4><b>\ub9ac\uc18c\uc2a4<\/b><\/h4>\n<ul>\n<li><i>\ub2e4\uc6b4\ub85c\ub4dc<\/i>:\u00a0<a href=\"https:\/\/www.couchbase.com\/blog\/ko\/downloads\/?family=server&amp;product=couchbase-server-developer\">Couchbase Server 6.5 \ub2e4\uc6b4\ub85c\ub4dc<\/a><i><\/i><\/li>\n<li><i>\ubb38\uc11c<\/i>:\u00a0<a href=\"https:\/\/docs.couchbase.com\/server\/6.5\/introduction\/whats-new.html\">\uce74\uc6b0\uce58\ubca0\uc774\uc2a4 \uc11c\ubc84 6.5\uc758 \uc0c8\ub85c\uc6b4 \uae30\ub2a5<\/a><i><\/i><\/li>\n<li><a href=\"https:\/\/www.couchbase.com\/blog\/ko\/tag\/6-5\/\"><b>6.5 \ube14\ub85c\uadf8 \ubaa8\ub450 \ubcf4\uae30<\/b><\/a><\/li>\n<\/ul>\n<p>6.5\uc758 \uae30\ub2a5\uc774 \ub9c8\uc74c\uc5d0 \ub4dc\uc168\ub294\uc9c0, \uc55e\uc73c\ub85c \ube44\uc988\ub2c8\uc2a4\uc5d0 \uc5b4\ub5a4 \ub3c4\uc6c0\uc774 \ub420\uc9c0 \uc5ec\ub7ec\ubd84\uc758 \uc758\uacac\uc744 \ub4e3\uace0 \uc2f6\uc2b5\ub2c8\ub2e4. \ub313\uae00\uc744 \ud1b5\ud574 \uc758\uacac\uc744 \uacf5\uc720\ud574 \uc8fc\uc2dc\uac70\ub098 <a href=\"https:\/\/www.couchbase.com\/blog\/ko\/forums\/\">\ud3ec\ub7fc<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>With Couchbase v6.5, Full-Text Search is now integrated into the Couchbase N1QL query construct. Customers can now leverage FTS indexes directly with N1QL. This provides developers a single API to combine N1QL exact predicate matching and FTS powerful searching. The [&hellip;]<\/p>","protected":false},"author":26326,"featured_media":10676,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[1815,2165,1812],"tags":[],"ppma_author":[8919],"class_list":["post-6565","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-best-practices-and-tutorials","category-full-text-search","category-n1ql-query"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.8 (Yoast SEO v25.8) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>N1QL &amp; SEARCH: Leverage Full-Text Search (FTS) Index in N1QL<\/title>\n<meta name=\"description\" content=\"With Couchbase 6.5 Full Text Search is now available through N1QL queries - the single API combines N1QL exact predicate and powerful FTS matching.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.couchbase.com\/blog\/ko\/n1ql-and-search-how-to-leverage-fts-index-in-n1ql-query\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"N1QL &amp; SEARCH: Leverage Full-Text Search (FTS) Index in N1QL\" \/>\n<meta property=\"og:description\" content=\"With Couchbase 6.5 Full Text Search is now available through N1QL queries - the single API combines N1QL exact predicate and powerful FTS matching.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/blog\/ko\/n1ql-and-search-how-to-leverage-fts-index-in-n1ql-query\/\" \/>\n<meta property=\"og:site_name\" content=\"The Couchbase Blog\" \/>\n<meta property=\"article:published_time\" content=\"2018-12-11T20:29:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-14T06:42:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/04\/Screen-Shot-2019-04-02-at-8.30.05-AM-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"656\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Binh Le\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Binh Le\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/n1ql-and-search-how-to-leverage-fts-index-in-n1ql-query\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/n1ql-and-search-how-to-leverage-fts-index-in-n1ql-query\/\"},\"author\":{\"name\":\"Binh Le\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/f89064928e262c71eb43bee996c48c63\"},\"headline\":\"N1QL &amp; SEARCH: Leverage Full-Text Search (FTS) Index in N1QL\",\"datePublished\":\"2018-12-11T20:29:41+00:00\",\"dateModified\":\"2025-06-14T06:42:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/n1ql-and-search-how-to-leverage-fts-index-in-n1ql-query\/\"},\"wordCount\":1019,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/n1ql-and-search-how-to-leverage-fts-index-in-n1ql-query\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/04\/Screen-Shot-2019-04-02-at-8.30.05-AM-1.png\",\"articleSection\":[\"Best Practices and Tutorials\",\"Full-Text Search\",\"SQL++ \/ N1QL Query\"],\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/n1ql-and-search-how-to-leverage-fts-index-in-n1ql-query\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/n1ql-and-search-how-to-leverage-fts-index-in-n1ql-query\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/n1ql-and-search-how-to-leverage-fts-index-in-n1ql-query\/\",\"name\":\"N1QL &amp; SEARCH: Leverage Full-Text Search (FTS) Index in N1QL\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/n1ql-and-search-how-to-leverage-fts-index-in-n1ql-query\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/n1ql-and-search-how-to-leverage-fts-index-in-n1ql-query\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/04\/Screen-Shot-2019-04-02-at-8.30.05-AM-1.png\",\"datePublished\":\"2018-12-11T20:29:41+00:00\",\"dateModified\":\"2025-06-14T06:42:59+00:00\",\"description\":\"With Couchbase 6.5 Full Text Search is now available through N1QL queries - the single API combines N1QL exact predicate and powerful FTS matching.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/n1ql-and-search-how-to-leverage-fts-index-in-n1ql-query\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/n1ql-and-search-how-to-leverage-fts-index-in-n1ql-query\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/n1ql-and-search-how-to-leverage-fts-index-in-n1ql-query\/#primaryimage\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/04\/Screen-Shot-2019-04-02-at-8.30.05-AM-1.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/04\/Screen-Shot-2019-04-02-at-8.30.05-AM-1.png\",\"width\":1200,\"height\":656},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/n1ql-and-search-how-to-leverage-fts-index-in-n1ql-query\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.couchbase.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"N1QL &amp; SEARCH: Leverage Full-Text Search (FTS) Index in N1QL\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"name\":\"The Couchbase Blog\",\"description\":\"Couchbase, the NoSQL Database\",\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\",\"name\":\"The Couchbase Blog\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"width\":218,\"height\":34,\"caption\":\"The Couchbase Blog\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/f89064928e262c71eb43bee996c48c63\",\"name\":\"Binh Le\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/5b68c37e30928a9d7b2c8470b1a303b7\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a939f48df6447844a8780bec264bb3be21d589336f3915fabc557075a68fa374?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a939f48df6447844a8780bec264bb3be21d589336f3915fabc557075a68fa374?s=96&d=mm&r=g\",\"caption\":\"Binh Le\"},\"description\":\"Binh Le is a Principal Product Manager for Couchbase Query service. Prior to Couchbase, he worked at Oracle and led the product management team for Sales Cloud Analytics and CRM OnDemand. Binh holds a Bachelor's Degree in Computer Science from the University of Brighton, UK.\",\"url\":\"https:\/\/www.couchbase.com\/blog\/ko\/author\/binh-le-2\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"N1QL \ubc0f \uac80\uc0c9: N1QL\uc5d0\uc11c \uc804\uccb4 \ud14d\uc2a4\ud2b8 \uac80\uc0c9(FTS) \uc778\ub371\uc2a4 \ud65c\uc6a9\ud558\uae30","description":"Couchbase 6.5\uc5d0\uc11c\ub294 \uc774\uc81c N1QL \ucffc\ub9ac\ub97c \ud1b5\ud574 \uc804\uccb4 \ud14d\uc2a4\ud2b8 \uac80\uc0c9\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc73c\uba70, \ub2e8\uc77c API\ub294 N1QL \uc815\ud655\ud55c \uc220\uc5b4\uc640 \uac15\ub825\ud55c FTS \ub9e4\uce6d\uc744 \uacb0\ud569\ud569\ub2c8\ub2e4.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.couchbase.com\/blog\/ko\/n1ql-and-search-how-to-leverage-fts-index-in-n1ql-query\/","og_locale":"ko_KR","og_type":"article","og_title":"N1QL &amp; SEARCH: Leverage Full-Text Search (FTS) Index in N1QL","og_description":"With Couchbase 6.5 Full Text Search is now available through N1QL queries - the single API combines N1QL exact predicate and powerful FTS matching.","og_url":"https:\/\/www.couchbase.com\/blog\/ko\/n1ql-and-search-how-to-leverage-fts-index-in-n1ql-query\/","og_site_name":"The Couchbase Blog","article_published_time":"2018-12-11T20:29:41+00:00","article_modified_time":"2025-06-14T06:42:59+00:00","og_image":[{"width":1200,"height":656,"url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/04\/Screen-Shot-2019-04-02-at-8.30.05-AM-1.png","type":"image\/png"}],"author":"Binh Le","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Binh Le","Est. reading time":"7\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.couchbase.com\/blog\/n1ql-and-search-how-to-leverage-fts-index-in-n1ql-query\/#article","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/n1ql-and-search-how-to-leverage-fts-index-in-n1ql-query\/"},"author":{"name":"Binh Le","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/f89064928e262c71eb43bee996c48c63"},"headline":"N1QL &amp; SEARCH: Leverage Full-Text Search (FTS) Index in N1QL","datePublished":"2018-12-11T20:29:41+00:00","dateModified":"2025-06-14T06:42:59+00:00","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/n1ql-and-search-how-to-leverage-fts-index-in-n1ql-query\/"},"wordCount":1019,"commentCount":0,"publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/n1ql-and-search-how-to-leverage-fts-index-in-n1ql-query\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/04\/Screen-Shot-2019-04-02-at-8.30.05-AM-1.png","articleSection":["Best Practices and Tutorials","Full-Text Search","SQL++ \/ N1QL Query"],"inLanguage":"ko-KR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.couchbase.com\/blog\/n1ql-and-search-how-to-leverage-fts-index-in-n1ql-query\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/blog\/n1ql-and-search-how-to-leverage-fts-index-in-n1ql-query\/","url":"https:\/\/www.couchbase.com\/blog\/n1ql-and-search-how-to-leverage-fts-index-in-n1ql-query\/","name":"N1QL \ubc0f \uac80\uc0c9: N1QL\uc5d0\uc11c \uc804\uccb4 \ud14d\uc2a4\ud2b8 \uac80\uc0c9(FTS) \uc778\ub371\uc2a4 \ud65c\uc6a9\ud558\uae30","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/n1ql-and-search-how-to-leverage-fts-index-in-n1ql-query\/#primaryimage"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/n1ql-and-search-how-to-leverage-fts-index-in-n1ql-query\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/04\/Screen-Shot-2019-04-02-at-8.30.05-AM-1.png","datePublished":"2018-12-11T20:29:41+00:00","dateModified":"2025-06-14T06:42:59+00:00","description":"Couchbase 6.5\uc5d0\uc11c\ub294 \uc774\uc81c N1QL \ucffc\ub9ac\ub97c \ud1b5\ud574 \uc804\uccb4 \ud14d\uc2a4\ud2b8 \uac80\uc0c9\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc73c\uba70, \ub2e8\uc77c API\ub294 N1QL \uc815\ud655\ud55c \uc220\uc5b4\uc640 \uac15\ub825\ud55c FTS \ub9e4\uce6d\uc744 \uacb0\ud569\ud569\ub2c8\ub2e4.","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/n1ql-and-search-how-to-leverage-fts-index-in-n1ql-query\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/n1ql-and-search-how-to-leverage-fts-index-in-n1ql-query\/"]}]},{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/www.couchbase.com\/blog\/n1ql-and-search-how-to-leverage-fts-index-in-n1ql-query\/#primaryimage","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/04\/Screen-Shot-2019-04-02-at-8.30.05-AM-1.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2019\/04\/Screen-Shot-2019-04-02-at-8.30.05-AM-1.png","width":1200,"height":656},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/blog\/n1ql-and-search-how-to-leverage-fts-index-in-n1ql-query\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/blog\/"},{"@type":"ListItem","position":2,"name":"N1QL &amp; SEARCH: Leverage Full-Text Search (FTS) Index in N1QL"}]},{"@type":"WebSite","@id":"https:\/\/www.couchbase.com\/blog\/#website","url":"https:\/\/www.couchbase.com\/blog\/","name":"\uce74\uc6b0\uce58\ubca0\uc774\uc2a4 \ube14\ub85c\uadf8","description":"NoSQL \ub370\uc774\ud130\ubca0\uc774\uc2a4, Couchbase","publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/blog\/#organization","name":"\uce74\uc6b0\uce58\ubca0\uc774\uc2a4 \ube14\ub85c\uadf8","url":"https:\/\/www.couchbase.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","width":218,"height":34,"caption":"The Couchbase Blog"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/f89064928e262c71eb43bee996c48c63","name":"Binh Le","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/5b68c37e30928a9d7b2c8470b1a303b7","url":"https:\/\/secure.gravatar.com\/avatar\/a939f48df6447844a8780bec264bb3be21d589336f3915fabc557075a68fa374?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a939f48df6447844a8780bec264bb3be21d589336f3915fabc557075a68fa374?s=96&d=mm&r=g","caption":"Binh Le"},"description":"Binh Le is a Principal Product Manager for Couchbase Query service. Prior to Couchbase, he worked at Oracle and led the product management team for Sales Cloud Analytics and CRM OnDemand. Binh holds a Bachelor's Degree in Computer Science from the University of Brighton, UK.","url":"https:\/\/www.couchbase.com\/blog\/ko\/author\/binh-le-2\/"}]}},"authors":[{"term_id":8919,"user_id":26326,"is_guest":0,"slug":"binh-le-2","display_name":"Binh Le","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/a939f48df6447844a8780bec264bb3be21d589336f3915fabc557075a68fa374?s=96&d=mm&r=g","author_category":"","last_name":"Le","first_name":"Binh","job_title":"","user_url":"","description":"Binh Le\ub294 Couchbase \ucffc\ub9ac \uc11c\ube44\uc2a4\uc758 \uc218\uc11d \uc81c\ud488 \uad00\ub9ac\uc790\uc785\ub2c8\ub2e4. Couchbase\uc5d0 \uc785\uc0ac\ud558\uae30 \uc804\uc5d0\ub294 Oracle\uc5d0\uc11c \uadfc\ubb34\ud558\uba70 Sales Cloud Analytics \ubc0f CRM OnDemand\uc758 \uc81c\ud488 \uad00\ub9ac \ud300\uc744 \uc774\ub04c\uc5c8\uc2b5\ub2c8\ub2e4. \uc601\uad6d \ube0c\ub77c\uc774\ud2bc \ub300\ud559\uad50\uc5d0\uc11c \ucef4\ud4e8\ud130 \uacf5\ud559 \ud559\uc0ac \ud559\uc704\ub97c \ubc1b\uc558\uc2b5\ub2c8\ub2e4."}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/posts\/6565","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/users\/26326"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/comments?post=6565"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/posts\/6565\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/media\/10676"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/media?parent=6565"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/categories?post=6565"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/tags?post=6565"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/ko\/wp-json\/wp\/v2\/ppma_author?post=6565"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}