{"id":507,"date":"2014-09-12T09:19:03","date_gmt":"2014-09-12T00:19:03","guid":{"rendered":"\/blog\/?p=507"},"modified":"2023-09-21T09:38:41","modified_gmt":"2023-09-21T00:38:41","slug":"%ea%b2%80%ec%83%89%ec%97%94%ec%a7%84-sphinx-%ec%82%ac%ec%9a%a9%eb%b0%a9%eb%b2%95","status":"publish","type":"post","link":"https:\/\/hasu0707.duckdns.org\/blog\/?p=507","title":{"rendered":"\uac80\uc0c9\uc5d4\uc9c4 sphinx \uc0ac\uc6a9\ubc29\ubc95"},"content":{"rendered":"\n<p><b><span style=\"font-size: 12pt; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc18c\uac1c<\/span><\/b><\/p><div><hr style=\"display:block; border: black 0 none; border-top: black 1px solid; height: 1px\"><\/div><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">MySQL\uc5d0\uc11c \ub370\uc774\ud130 \uac80\uc0c9\uc2dc \ub370\uc774\ud130\uac00 \ub9ce\uc740 \uacbd\uc6b0 \uc790\ub8cc\ub97c \uac80\uc0c9\ud558\ub294\ub370 \uc18c\ubaa8\ub418\ub294 \uc2dc\uac04\uc774 \ud06c\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">MySQL\uc758 \ub370\uc774\ud130\ub97c \ubcc4\ub3c4\uc758 \uac80\uc0c9\uc5d4\uc9c4\uc774 \uc778\ub371\uc2f1\ud558\uc5ec \uc778\ub371\uc2f1\uc744 \uac80\uc0c9\ud568\uc73c\ub85c\uc11c \uc2dc\uac04 \uc18c\ubaa8\ub97c \uc904\uc77c \uc218 \uc788\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc5ec\uae30\uc11c\ub294 \uc624\ud508\uc18c\uc2a4 \ud504\ub85c\uadf8\ub7a8\uc778 Sphinx \uac80\uc0c9 \uc5d4\uc9c4\uc744 \ub3c4\uc785\ud574\ubcf4\uace0, Sphinx \uac80\uc0c9\uc5d4\uc9c4\uacfc MySQL, \uadf8\ub9ac\uace0 PHP\uc640 \ud568\uaed8 \uc0ac\uc6a9\ud574\ub3c4\ub85d \ud55c\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-size: 12pt;\"><b><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc124\uce58 \ud658\uacbd<\/span><\/b><\/span><\/p><div><hr style=\"display:block; border: black 0 none; border-top: black 1px solid; height: 1px\"><\/div><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">OS : Debian 7 64Bit<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">S\/W : <\/span><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">MySQL : 5.6.11 \/ PHP 5.4.4-14<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc124\uce58\ud560 S\/W&nbsp;: Sphinx 2.0.8<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><b><span style=\"font-size: 12pt;\"><br \/><\/span><\/b><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><b><span style=\"font-size: 12pt; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">Sphinx \uc124\uce58<\/span><\/b><\/p><div><hr style=\"display:block; border: black 0 none; border-top: black 1px solid; height: 1px\"><\/div><p><br \/><\/p><p><span style=\"font-size: 9pt; line-height: 1.5;\"><b><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">1. \ud30c\uc77c \ubc1b\uae30<\/span><\/b><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">Sphinx \ud30c\uc77c\uc740 <\/span><span style=\"color: rgb(102, 0, 255);\"><a href=\"http:\/\/sphinxsearch.com\/\" target=\"_blank\" rel=\"noopener\"><span style=\"color: rgb(126, 65, 217); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">Sphinx \ud648\ud398\uc774\uc9c0<\/span><\/a><\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ub97c \ud1b5\ud574\uc11c \ubc1b\ub3c4\ub85d \ud55c\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">Sphinx \uc555\ucd95 \ud30c\uc77c\uc774 \uc544\ub798 \uacbd\ub85c\uc5d0 \uc788\ub2e4\ub294 \uc124\uc815 \ud558\uc5d0 \uc124\uce58\ub97c \uc9c4\ud589\ud558\uba70, s<\/span><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">phinx-2.0.8-release\ud30c\uc77c\uc744 \uc55e\uc73c\ub85c sphinx\ub77c\uace0 \uc9c0\uce6d\ud558\uaca0\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"904\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:904;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\/home\/download\/sphinx.tar.gz&nbsp;<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><b><br \/><span id=\"callbacknestsacstorytistorycom2191342\" style=\"width:1px; height:1px; float:right\"><\/span><\/b><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><b><br \/><\/b><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><b><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">2. \uc555\ucd95 \ud574\uc81c<\/span><\/b><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"904\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:904;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">cd \/home\/download<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">tar xvfz sphinx.tar.gz<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><b><br \/><\/b><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><b><br \/><\/b><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><b><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">3. \uc124\uce58 \ud658\uacbd \uc124\uc815<\/span><\/b><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"904\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:904;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">cd \/home\/download\/sphinx<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">.\/configure --prefix=\/usr\/local\/sphinx<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><b><br \/><\/b><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">--prefix \uc635\uc158\uc740 \uc124\uce58\uc2dc \uc124\uce58\ub418\ub294 \ud30c\uc77c\uc758 \uacbd\ub85c\ub97c \uc9c0\uc815\ud558\ub294 \uac83\uc73c\ub85c \uc5ec\uae30\uc11c\ub294 \/usr\/local\/sphinx\uc5d0 \uc124\uce58\ud558\ub3c4\ub85d \ud658\uacbd \uc124\uc815\uc744 \ubc14\uafbc\ub2e4.<\/span><\/p><p><br \/><\/p><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ub9cc\uc57d \uc124\uce58 \uc9c4\ud589\uc2dc \uc124\uce58\uac00 \uc548\ub418\ub294 \uacbd\uc6b0 \uc544\ub798\ucc98\ub7fc make\uc640 gcc, g++\uc774 \uc124\uce58 \ub418\uc9c0 \uc54a\uc558\uc744 \uc218 \uc788\ub2e4.<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc544\ub798 \uba85\ub839\uc5b4\ub97c \ud1b5\ud574 \ud504\ub85c\uadf8\ub7a8\uc744 \uc124\uce58\ud574\uc900\ub2e4.<\/span><\/p><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">apt-get install gcc<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">apt-get install g++<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">apt-get install make<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">apt-get install&nbsp;build-essential<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><b><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">4. \uc124\uce58<\/span><\/b><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"904\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:904;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">make -j4 install&nbsp;<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">-j4\ub294 \uba40\ud2f0 \ucf54\uc5b4\uc778 \uacbd\uc6b0\uc5d0 \uc801\uc6a9\ub418\uba74 CPU \ud65c\uc6a9\ub960\uc744 \ub192\uc5ec \ub354&nbsp;\ube60\ub974\uac8c \uc124\uce58\ud574\ub3c4\ub85d \ud574\uc8fc\ub294 \uc635\uc158\uc774\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><b><br \/><\/b><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><b><br \/><\/b><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><b><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">5. \ud658\uacbd&nbsp;\uc124\uc815 \ud30c\uc77c \ubcf5\uc0ac<\/span><\/b><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><table class=\"txc-table\" style=\"border: none; border-collapse: collapse; font-size: 12px;\" border=\"0\" width=\"904\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width: 904px; height: 24px; border: 1px solid rgb(204, 204, 204);\"><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">cd \/usr\/local\/sphinx\/etc<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">cp sphinx-min.conf.dist sphinx.conf<\/span><\/p><\/td><\/tr><\/tbody><\/table><p><b><br \/><\/b><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">Sphinx\uc758 \ud658\uacbd \uc124\uc815 \ud30c\uc77c\uc744 \uc2e4\uc81c\ub85c \uc0ac\uc6a9\ud560 \uc774\ub984\uc778 sphinx.conf\uba85\uc73c\ub85c&nbsp;\ubcf5\uc0ac\ud55c\ub2e4.<\/span><\/p><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc774\uc81c Sphinx \ud504\ub85c\uadf8\ub7a8\uc744 \uc124\uce58\ud588\ub2e4.<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ub2e4\uc74c 2\ubd80\uc5d0\uc11c\ub294 \uac04\ub2e8\ud55c \uc608\uc81c\uc640 \ud568\uaed8 Sphinx\uc640 MySQL\uc758 \uc5f0\ub3d9 \ubc0f \ud14c\uc2a4\ud2b8\ub97c \ud574\ubcf4\ub3c4\ub85d \ud558\uaca0\ub2e4.<\/span><\/p><p><br \/><\/p><p><span style=\"font-size: 12pt;\"><b><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc18c\uac1c<\/span><\/b><\/span><\/p><div><hr style=\"display:block; border: black 0 none; border-top: black 1px solid; height: 1px\"><\/div><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">1\ubd80\uc5d0\uc11c \uc124\uce58\uc5d0 \uc774\uc5b4 2\ubd80\uc5d0\uc11c\ub294 Sphinx\uc640 MySQL\uc744 \uc5f0\ub3d9\ud574\ubcf4\uace0 MySQL\ucc98\ub7fc \ucffc\ub9ac\ubb38\uc744 \ud1b5\ud574 \uac04\ub2e8\ud55c \uac80\uc0c9\uc744 \ud574\ubcf4\ub3c4\ub85d \ud558\uc790.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ucc38\uace0\ub85c \ub0b4\uc6a9\uc774 \ub9ce\uc544 \ubcf4\uc774\ub098 \ubcf5\uc7a1\ud558\uc9c4 \uc54a\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><b><span style=\"font-size: 12pt; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">1. SQL \ub370\uc774\ud130 \uc0bd\uc785<\/span><\/b><\/p><div><hr style=\"display:block; border: black 0 none; border-top: black 1px solid; height: 1px\"><\/div><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc6b0\uc120 \uac04\ub2e8\ud55c \ud14c\uc2a4\ud2b8\ub97c \uc704\ud574 \uc544\ub798\uc758 \ud30c\uc77c\uc744 \ubc1b\uc544 MySQL\uc5d0 \ub123\ub3c4\ub85d \ud55c\ub2e4.<\/span><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">(Sphinx\uc5d0\uc11c \uc81c\uacf5\ud558\ub294 example.sql\uc740 \ub370\uc774\ud130\uac00 \uc601\uc5b4\ub85c\ub9cc \ub418\uc5b4 \uc788\uc73c\ubbc0\ub85c \ud55c\uae00 \ud14c\uc2a4\ud2b8\uac00 \uc548\ub41c\ub2e4. \uac01\uc790 \uc54c\uc544\uc11c \ucc38\uace0 \uc790\ub8cc\ub85c \ud65c\uc6a9\ud558\ub3c4\ub85d \ud55c\ub2e4.)<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span class=\"imageblock\" style=\"display:inline-block;;height:auto\"><a href=\"http:\/\/sacstory.tistory.com\/attachment\/cfile3.uf.024BD34D51C936D407BB3A.sql\"><img decoding=\"async\" src=\"http:\/\/i1.daumcdn.net\/cfs.tistory\/v\/110706133414\/blog\/image\/extension\/unknown.gif\" alt=\"\" style=\"vertical-align: middle;\"><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\"> test.sql<\/span><\/a><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"line-height: 1.5; font-size: 9pt; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc544\ub798\uc758 \uba85\ub839\uc5b4\ub97c \ud1b5\ud574 test DB\uc5d0 \ub370\uc774\ud130\ub97c&nbsp;\ub123\ub3c4\ub85d \ud55c\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ub9cc\uc57d test DB\uac00 \uc5c6\ub2e4\uba74, \uc218\ub3d9\uc73c\ub85c \ub9cc\ub4e4\uc5b4\uc918\uc57c \ud55c\ub2e4. \ub9cc\uc57d \ub2e4\ub978 DB\uc5d0 \ub123\uace0 \uc2f6\ub2e4\uba74 test\uba85\uc744 \ubc14\uafb8\uba74 \ub41c\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc880\ub354 \uc790\uc138\ud55c\uac74&nbsp;<\/span><a href=\"http:\/\/sacstory.tistory.com\/entry\/MySQL-MySQL-%EB%B0%B1%EC%97%85-%EA%B4%80%EB%A6%AC\" target=\"_blank\" style=\"font-size: 9pt; line-height: 1.5;\" rel=\"noopener\"><span style=\"color: rgb(70, 65, 217); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">2013\/06\/21 - [Database\/MySQL] - [MySQL] MySQL DB\uc640 Table \ubc31\uc5c5 \ubc0f \ubcf5\uc6d0 \uad00\ub9ac<\/span><\/a><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;\uae00\uc744 \uc77d\ub3c4\ub85d \ud558\uc790.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">mysql -u\uc544\uc774\ub514 -p test &lt; test.sql&nbsp;<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ucc38\uace0\ub85c SQL \uc608\uc81c \ub370\uc774\ud130\ub294 \uc544\ub798\uc640 \uac19\uc740 \ub0b4\uc6a9\uc774\uba70, \ub370\uc774\ud130\ub294 \uc778\ud130\ub137\uc5d0 \ub5a0\ub3c4\ub294 SQL \ud30c\uc77c\uc744 \uc608\uc81c\uc5d0 \ub9de\uac8c \uc218\uc815\ud558\uc600\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: center; clear: none; float: none;\"><span class=\"imageblock\" style=\"display:inline-block;width:615px;;height:auto\"><span dir=\"http:\/\/cfile24.uf.tistory.com\/original\/2204B24E51C57CDD2CEDCF\" rel=\"lightbox\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/cfile24.uf.tistory.com\/image\/2204B24E51C57CDD2CEDCF\" height=\"317\" width=\"615\"><\/span><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: center; clear: none; float: none;\"><span class=\"imageblock\" style=\"display:inline-block;width:669px;;height:auto\"><span dir=\"http:\/\/cfile24.uf.tistory.com\/original\/035C944E51C57CDD064D5D\" rel=\"lightbox\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/cfile24.uf.tistory.com\/image\/035C944E51C57CDD064D5D\" height=\"320\" width=\"669\"><\/span><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><b style=\"font-size: 9pt; line-height: 1.5;\"><span style=\"font-size: 12pt;\"><br \/><\/span><\/b><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><b style=\"font-size: 9pt; line-height: 1.5;\"><span style=\"font-size: 12pt; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">2. Sphinx \uc124\uc815<\/span><\/b><\/p><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"font-size: 9pt; line-height: 1.5;\"><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">sphinx.conf \ud30c\uc77c\uc744 \uc124\uc815\ud558\ub294\ub370 \uc870\uae08 \ub9ce\uc740 \ub0b4\uc6a9\uc774 \uc788\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc774\uc81c \uc124\uc815\ud30c\uc77c\uc744 \uc5b4\ub5bb\uac8c \uc124\uc815\ud560\uc9c0 \ucd5c\ub300\ud55c \uac04\ub2e8\ud558\uac8c&nbsp;\uc124\uba85\ud558\uaca0\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-size: 9pt; line-height: 1.5;\"><br \/><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"font-size: 9pt; line-height: 1.5;\"><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc544\ub798 \ub0b4\uc6a9\uc911 \ub2e4\ub8e8\uc9c0 \uc54a\uc740 \uc124\uc815\uc774 \uc788\uc73c\ub2c8 \ucca8\ubd80\ub41c \ud30c\uc77c\uc774\ub098, \ub354\ubcf4\uae30\ub97c \ud1b5\ud574 \ud655\uc778\ud558\uc5ec \uc608\uc81c\ub97c \uc9c4\ud589\ud558<\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ub3c4\ub85d \ud55c\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"font-size: 9pt; line-height: 1.5;\"><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"font-size: 9pt; line-height: 1.5;\"><span class=\"imageblock\" style=\"display:inline-block;;height:auto\"><a href=\"http:\/\/sacstory.tistory.com\/attachment\/cfile3.uf.2423AF4D51C8EB3D32A173.conf\"><img decoding=\"async\" src=\"http:\/\/i1.daumcdn.net\/cfs.tistory\/v\/110706133414\/blog\/image\/extension\/unknown.gif\" alt=\"\" style=\"vertical-align: middle;\"><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\"> sphinx.conf<\/span><\/a><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"font-size: 9pt; line-height: 1.5;\"><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"font-size: 9pt; line-height: 1.5;\"><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"font-size: 9pt; line-height: 1.5;\"><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"font-size: 9pt; line-height: 1.5;\"><b><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">1. \uc124\uc815\ud30c\uc77c \uc5f4\uae30<\/span><\/b><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"font-size: 9pt; line-height: 1.5;\"><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"font-size: 9pt; line-height: 1.5;\"><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc124\uc815 \ud30c\uc77c\uc744 \uc5f0\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">vi \/usr\/local\/sphinx\/etc\/sphinx.conf&nbsp;<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"font-size: 9pt; line-height: 1.5;\"><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"font-size: 9pt; line-height: 1.5;\"><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-size: 9pt; line-height: 1.5;\"><b><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">2. source \uc124\uc815<\/span><\/b><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">sphinx.conf \ub0b4\uc6a9\uc911 source \ubd80\ubd84\uc774\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><table class=\"txc-table\" style=\"border: none; border-collapse: collapse; font-size: 12px;\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">source <\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">zipcode<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">{<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">      <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">type<\/span><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">                   <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">= mysql<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">  <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">sql_host<\/span><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">               <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">= localhost<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">    <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">sql_user<\/span><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">               <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">= <\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">DB\uc544\uc774\ub514<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">       <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">sql_pass<\/span><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">               <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">= <\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">DB\ud328\uc2a4\uc6cc\ub4dc<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">     <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">sql_db<\/span><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">         <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">= <\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">DB\uba85<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">   <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">sql_port<\/span><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">               <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">= 3306<\/span><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\"> <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\"># optional, default is 3306<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">    <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">sql_sock<\/span><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">               <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">= \/tmp\/mysql.sock<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">        <\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">sql_query_pre = SET NAMES utf8<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">  <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">sql_query = <\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">SELECT sn, zipcode, state, city, suburb, address FROM zipcode<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span class=\"Apple-tab-span\" style=\"white-space: pre; color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">      <\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">sql_field_string<\/span><span class=\"Apple-tab-span\" style=\"white-space: pre; color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\"> <\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">= zipcode<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span class=\"Apple-tab-span\" style=\"white-space: pre; color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">        <\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">sql_field_string<\/span><span class=\"Apple-tab-span\" style=\"white-space: pre; color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\"> <\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">= state<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span class=\"Apple-tab-span\" style=\"white-space: pre; color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">  <\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">sql_field_string<\/span><span class=\"Apple-tab-span\" style=\"white-space: pre; color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\"> <\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">= city<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span class=\"Apple-tab-span\" style=\"white-space: pre; color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">   <\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">sql_field_string<\/span><span class=\"Apple-tab-span\" style=\"white-space: pre; color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\"> <\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">= suburb<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span class=\"Apple-tab-span\" style=\"white-space: pre; color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\"> <\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">sql_field_string<\/span><span class=\"Apple-tab-span\" style=\"white-space: pre; color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\"> <\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">= address<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">}<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><span id=\"callbacknestsacstorytistorycom2305923\" style=\"width:1px; height:1px; float:right\"><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">source \ubd80\ubd84\uc5d0\uc11c\ub294 \uc778\ub371\uc2a4\uba85\uc744 \uc9c0\uc815\ud558\uace0, \uc5b4\ub5a4 \ub370\uc774\ud130\ub97c \uc778\ub371\uc2f1 \ud560 \uac83\uc774\uc9c0&nbsp;\ub4f1\ub4f1 \uc124\uc815\ud558\ub294 \ubd80\ubd84\uc774\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">source\uba85 : zipcode (\ud14c\uc774\ube14\uba85\uc73c\ub85c \ud558\ub294 \uac83\uc774 \ud3b8\ud558\ub2e4.)<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">sql_query_pre : \ud55c\uae00 \ub370\uc774\ud130\ub97c \uc704\ud574 utf8\ub85c \uc124\uc815\ud55c\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">sql_query&nbsp;: \uc5b4\ub5a4 \ub370\uc774\ud130\ub97c \uc778\ub371\uc2f1 \ud558\uae30 \uc704\ud574\uc11c\ub294 MySQL\ub85c\ubd80\ud130 \ub370\uc774\ud130\ub97c \uac00\uc838\uc640\uc57c \ud55c\ub2e4. \uc790\uc2e0\uc774 Sphinx\ub97c \ud1b5\ud574 \uac80\uc0c9 \ud560 \ub370\uc774\ud130 \ub0b4\uc6a9, \uac80\uc0c9 \uacb0\uacfc\uc5d0 \ud45c\uc2dc\ud560 \ub0b4\uc6a9\uc744 \ud3ec\ud568\ud558\ub3c4\ub85d MySQL \ucffc\ub9ac\ubb38\uc744 \uc791\uc131\ud558\uba74 \ub41c\ub2e4. <\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ub2e8, \uccab\ubc88\uc9f8 \ud544\ub4dc\ub294 \uc808\ub300\ub85c \uc911\ubcf5\ub418\uc9c0 \uc54a\ub294 Primary Key \ub610\ub294 Unique Key \uac12\uc744 \uc918\uc57c \ud55c\ub2e4. \ub530\ub77c\uc11c \uc774\ub7f0 \ud544\ub4dc\uac00 \uc5c6\ub2e4\uba74 DB\uc5d0 \ub9cc\ub4e4\uc5b4\uc57c \ud55c\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">sql_field_string : Sphnx\uac00 \ub370\uc774\ud130\ub97c \ub2e4\ub8e8\uae30 \uc704\ud574 \ud544\uc694\ud55c \uc120\uc5b8\uc774\ub77c\uace0 \uc0dd\uac01\ud558\uba74 \ub41c\ub2e4. \uc989, \ub370\uc774\ud130 \ud0c0\uc785\uc744&nbsp;\uc9c0\uc815\ud574\uc8fc\ub294 \uac83\uc73c\ub85c int, string, float&nbsp;\ub4f1 \uc774\ub77c\uace0 \uc0dd\uac01\ud558\uba74 \ub41c\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">sql_field_string \uc678\uc5d0 \uc544\ub798\uc640 \uac19\uc740 \ub370\uc774\ud130 \ud0c0\uc785\uc774 \uc788\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">sql_attr_uint<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">sql_attr_bigint<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">sql_attr_timestamp<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">...<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">...<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc77c\ub2e8\uc740 \uc815\uc0c1\uc801\uc778 \uc2e4\ud589\uc774 \ub418\ub294\uc9c0 \ud655\uc778\ud558\uae30 \uc704\ud55c \ucc28\uc6d0\uc774\ubbc0\ub85c&nbsp;<\/span><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ub370\uc774\ud130 \ud615\ud0dc\uc5d0 \ub530\ub978 \ucc28\uc774\uc640 \uadf8\uc5d0\ub300\ud55c&nbsp;\uc790\uc138\ud55c \ub0b4\uc6a9\uc740 \ub2e4\uc74c 3\ubd80\uc5d0\uc11c \ub2e4\ub8e8\ub3c4\ub85d \ud558\uaca0\ub2e4.&nbsp;<\/span><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">(\uc911\uc694\ud558\uae30 \ub54c\ubb38\uc5d0 \ud544\uc218\uc801\uc73c\ub85c \ubd10\uc57c \ud560 \uac83\uc774\ub2e4.)<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><\/div><div><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><\/table><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><b><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">2. index&nbsp;\uc124\uc815<\/span><\/b><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">index \uc124\uc815\uc5d0\ub294 \ud55c\uae00 \uc124\uc815, \uac80\uc0c9 \ubc29\ubc95 \ub4f1\ub4f1\uc758 \uc124\uc815\uc744 \ub2e4\ub8e8\uac8c \ub41c\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><b><br \/><\/b><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">sphinx.conf \ub0b4\uc6a9\uc911 index \ubd80\ubd84\uc774\ub2e4.<\/span><\/p><table class=\"txc-table\" style=\"font-size: 12px; line-height: 1.5; border: none; border-collapse: collapse;\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">index <\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">zipcode<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">{<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">     <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">source<\/span><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">         <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">= zipcode<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">      <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">path<\/span><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">                   <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">= \/usr\/local\/sphinx\/var\/data\/<\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">zipcode<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">     <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">docinfo<\/span><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">                <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">= extern<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">       <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">charset_type<\/span><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">   <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">= <\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">utf-8<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">  <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">charset_table = <\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">0..9, A..Z-&gt;a..z, _, a..z, U+410..U+42F-&gt;U+430..U+44F, U+430..U+44F<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">  <\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">ngram_len = 1<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span class=\"Apple-tab-span\" style=\"white-space: pre; color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">    <\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">ngram_chars = &nbsp;<\/span><font color=\"#ff0000\"><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">U+4E00..U+9FBB,\n U+3400..U+4DB5, U+20000..U+2A6D6, U+FA0E, U+FA0F, U+FA11, U+FA13, \nU+FA14, U+FA1F, U+FA21, U+FA23, U+FA24, U+FA27, U+FA28, U+FA29, \nU+3105..U+312C, U+31A0..U+31B7, U+3041, U+3043, U+3045, U+3047, U+3049, \nU+304B, U+304D, U+304F, U+3051, U+3053, U+3055, U+3057, U+3059, U+305B, \nU+305D, U+305F, U+3061, U+3063, U+3066, U+3068, U+306A..U+306F, U+3072, \nU+3075, U+3078, U+307B, U+307E..U+3083, U+3085, U+3087, U+3089..U+308E, \nU+3090..U+3093, U+30A1, U+30A3, U+30A5, U+30A7, U+30A9, U+30AD, U+30AF, \nU+30B3, U+30B5, U+30BB, U+30BD, U+30BF, U+30C1, U+30C3, U+30C4, U+30C6, \nU+30CA, U+30CB, U+30CD, U+30CE, U+30DE, U+30DF, U+30E1, U+30E2, U+30E3, \nU+30E5, U+30E7, U+30EE, U+30F0..U+30F3, U+30F5, U+30F6, U+31F0, U+31F1, \nU+31F2, U+31F3, U+31F4, U+31F5, U+31F6, U+31F7, U+31F8, U+31F9, U+31FA, \nU+31FB, U+31FC, U+31FD, U+31FE, U+31FF, U+AC00..U+D7A3, U+1100..U+1159, \nU+1161..U+11A2, U+11A8..U+11F9, U+A000..U+A48C, U+A492..U+A4C6<\/span><\/font><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">}&nbsp;<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><p style=\"font-size: 9pt; line-height: 1.5;\"><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">index\uba85 : source\uba85\uacfc \ub3d9\uc77c\ud558\uac8c \ud574\uc900\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">path : \uc778\ub371\uc2a4\ud55c \ud30c\uc77c\uc774 \uc800\uc7a5\ub418\ub294 \uc7a5\uc18c\ub2e4. \uc704\uce58\ub294 \uc0c1\uad00\uc5c6\uc9c0\ub9cc \ub370\uc774\ud130\uba85\uc740 \uc27d\uac8c \uc54c\uc544\ubcf4\uae30 \uc704\ud574 source\uba85\uacfc \ub3d9\uc77c\ud558\uac8c \ucc98\ub9ac\ud574 \uc8fc\ub3c4\ub85d \ud55c\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">charset_type : \ud55c\uae00 \uc124\uc815\uc744 \uc704\ud574 utf-8\ub85c \ud574\uc900\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">charset_table : sphinx.conf.dist \ud30c\uc77c\uc744 \uc5f4\uc5b4\ubcf4\uba74 utf-8 \uae30\ubcf8\uac12\uc73c\ub85c \uc774\ubbf8 \uc704\ucc98\ub7fc \uc124\uc815\ub418\uc5b4 \uc788\ub2e4. \uadf8\ub300\ub85c \ubcf5\uc0ac\ud574 \uc0ac\uc6a9\ud55c\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">ngram_len : \ud55c\uae00&nbsp;\uac80\uc0c9\uc744 \uc704\ud574 ngram\uc744 \uc124\uc815\ud574\uc57c \ud55c\ub2e4. 1\uac12\uc73c\ub85c \uc124\uc815\ud55c\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">ngram_chars : ngram\uc744 \uac80\uc0c9\ud558\uae30 \uc704\ud574 \ub098\ub20c \ub2e8\uc704\ub97c&nbsp;\uc124\uc815\ud55c\ub2e4. \ud55c\uad6d\uc5b4, \uc911\uad6d\uc5b4, \uc77c\ubcf8\uc5b4 \ubaa8\ub450 \uac80\uc0c9\uc774 \uac00\ub2a5\ud558\ub3c4\ub85d CJK\ub97c \uc0ac\uc6a9\ud558\uba70 \ub41c\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">(CJK&nbsp;<\/span><a href=\"http:\/\/sphinxsearch.com\/wiki\/doku.php?id=charset_tables#cjk_ngram_characters\" target=\"_blank\" style=\"font-size: 9pt; line-height: 1.5;\" rel=\"noopener\"><span style=\"color: rgb(163, 102, 255); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">http:\/\/sphinxsearch.com\/wiki\/doku.php?id=charset_tables#cjk_ngram_characters<\/span><\/a><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">)<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><p id=\"more230_0\" class=\"moreless_fold\"><span style=\"cursor: pointer; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">n-gram\uc774\ub780?<\/span><\/p><\/div><div><br \/><\/div><div><br \/><\/div><div><b><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">3. rt \uc124\uc815<\/span><\/b><\/div><div><b><br \/><\/b><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">rt\ub97c \uc774\uc6a9\ud558\uba74 \uc778\ub371\uc2f1\ub41c \ub370\uc774\ud130\ub97c \uc2e4\uc2dc\uac04\uc73c\ub85c \uc218\uc815 \ud560 \uc218 \uc788\ub2e4\ub294\ub370, \uc0ac\uc6a9\ud574 \ubcf8\uc801\uc774 \uc5c6\uc73c\uba70, \ubcf8 \uae00\uc5d0\uc11c rt\ubd80\ubd84\uc744 \ub2e4\ub8e8\uc9c0 \uc54a\uc73c\ubbc0\ub85c \ud328\uc2a4\ud55c\ub2e4.&nbsp;<\/span><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">(\uadf8\ub0e5 \uae30\ubcf8\uc73c\ub85c \ub450\uac70\ub098, \uc0ad\uc81c\ud558\uac70\ub098 \uc8fc\uc11d\ucc98\ub9ac\ud55c\ub2e4.)<\/span><\/div><div><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><\/table><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">sphinx.conf \ub0b4\uc6a9\uc911 type\uc774 rt\uc778 index \ubd80\ubd84\uc774\ub2e4.<\/span><\/p><table class=\"txc-table\" style=\"border: none; border-collapse: collapse; font-size: 12px;\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">index zipcodert<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">{<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">      <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">type<\/span><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">                   <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">= rt<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">   <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">rt_mem_limit<\/span><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">   <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">= 32M<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">    <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">path<\/span><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">                   <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">= \/usr\/local\/sphinx\/var\/data\/zipcodert<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\"> <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">charset_type<\/span><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">   <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">= utf-8<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">  <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">rt_field<\/span><span class=\"Apple-tab-span\" style=\"white-space: pre; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">               <\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">= state<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">}&nbsp;<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><p><br \/><\/p><br \/><\/div><div><br \/><\/div><div><br \/><\/div><p id=\"more230_1\" class=\"moreless_fold\"><span style=\"cursor: pointer; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uadf8\uc678 sphinx.conf \ub0b4\uc6a9<\/span><\/p><div><br \/><\/div><div><span style=\"font-size: 9pt; line-height: 1.5;\"><b><br \/><\/b><\/span><\/div><div><span style=\"font-size: 9pt; line-height: 1.5;\"><b><br \/><\/b><\/span><\/div><div><span style=\"font-size: 9pt; line-height: 1.5;\"><b><span style=\"font-size: 12pt; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">2. Sphinx \uc778\ub371\uc2f1<\/span><\/b><\/span><span style=\"font-size: 9pt; line-height: 1.5;\"><b><div><hr style=\"display:block; border: black 0 none; border-top: black 1px solid; height: 1px\"><\/div><p><br \/><\/p><\/b><\/span><\/div><div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">MySQL\ub85c\ubd80\ud130 \uac80\uc0c9 \ubc0f \uac80\uc0c9 \uacb0\uacfc\ub97c \uc904 \ub370\uc774\ud130\ub97c Sphinx\uc5d0\uc11c \uac80\uc0c9\uc774 \ub418\ub3c4\ub85d \uc778\ub371\uc2f1\uc744 \ud558\ub3c4\ub85d \ud55c\ub2e4.<\/span><\/div><div><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uba85\ub839\uc5b4\ub294 indexer\ub97c \uc0ac\uc6a9\ud558\uba74 \ub41c\ub2e4.<\/span><\/div><div><span style=\"font-size: 9pt; line-height: 1.5;\"><br \/><\/span><\/div><div><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">indexer \uba85\ub839\uc5b4\ub97c \uc0ac\uc6a9\ud558\uae30 \uc704\ud574 \uc544\ub798 \uc704\uce58\ub85c \uc774\ub3d9\ud55c\ub2e4.<\/span><\/div><div><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ub9cc\uc57d \uc5b4\ub290 \uc704\uce58\uc5d0\uc11c\ub4e0 indexer \uba85\ub839\uc5b4\ub97c \uc0ac\uc6a9\ud558\ub824\uba74 \ub2e4\uc74c \uae00\uc744 \ucc38\uace0\ud558\ub3c4\ub85d \ud55c\ub2e4.&nbsp;<\/span><span style=\"font-size: 9pt; line-height: 1.5;\"><p><a href=\"http:\/\/sacstory.tistory.com\/entry\/Debain-PATH-%EC%84%A4%EC%A0%95\" target=\"_blank\" rel=\"noopener\"><span style=\"color: rgb(107, 102, 255); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">2013\/06\/22 - [Linux Debian 7] - [Debain] PATH \uc124\uc815<\/span><\/a><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><\/span><\/div><div><span style=\"font-size: 9pt; line-height: 1.5;\"><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">cd \/usr\/local\/sphinx\/bin&nbsp;<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc778\ub371\uc2f1\uc744 \ud55c\ub2e4.<\/span><\/p><\/span><span style=\"font-size: 9pt; line-height: 1.5;\"><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width: 894px; height: 24px; border: 1px solid rgb(204, 204, 204);\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">.\/indexer --all&nbsp;<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc544\ub798\uc640 \uac19\uc740 \uc778\ub371\uc2f1 \uacb0\uacfc\uac00 \ub098\ud0c0\ub09c\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: start; clear: none; float: none;\"><span class=\"imageblock\" style=\"display:inline-block;width:637px;;height:auto\"><span dir=\"http:\/\/cfile1.uf.tistory.com\/original\/257A1F4951C5979D0455F3\" rel=\"lightbox\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/cfile1.uf.tistory.com\/image\/257A1F4951C5979D0455F3\" height=\"392\" width=\"637\"><\/span><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uadf8\uc678 \uc544\ub798\uc640 \uac19\uc740 \uc635\uc158\uc774 \uc788\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-size: 9pt; line-height: 1.5;\"><br \/><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">--all : \uc124\uc815\ub41c \ubaa8\ub4e0 \ub9ac\uc2a4\ud2b8<\/span><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ub97c \uc778\ub371\uc2f1 \ud55c\ub2e4.<\/span><\/p><\/span><\/div><div><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">--rotate : searchd \ud504\ub85c\uc138\uc2a4\uac00 \uc11c\ube44\uc2a4 \uc911\uc77c\ub54c \uc0ac\uc6a9\ud55c\ub2e4.<\/span><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">--merge : \uc778\ub371\uc2f1\ub41c \ud30c\uc77c\uc744 \ud569\uce5c\ub2e4.<\/span><\/div><div><br \/><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc790\uc138\ud55c \uc0ac\uc6a9\uc740 \ub098\uc911\uc5d0 \uc124\uba85\ud558\uaca0\ub2e4.<\/span><\/div><div><br \/><\/div><div><br \/><\/div><div><br \/><\/div><div><b><span style=\"font-size: 12pt; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">3. SphinxQL \uc0ac\uc6a9<\/span><\/b><b><div><hr style=\"display:block; border: black 0 none; border-top: black 1px solid; height: 1px\"><\/div><p><br \/><\/p><\/b><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">MySQL\ucc98\ub7fc Sphinx\ub3c4 SphinxQL\uc774\ub77c\ub294 \uac83\uc774 \uc788\ub2e4.<\/span><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc774\uc81c SphinxQL\uc744 \uc0ac\uc6a9\ud574\uc11c \uac80\uc0c9\uc774 \uc815\uc0c1\uc801\uc73c\ub85c \ub418\ub294\uc9c0 \ud655\uc778\ud558\ub3c4\ub85d \ud558\uc790.<\/span><\/div><div><br \/><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc6b0\uc120 Sphinx\uc5d0 \uc811\uc18d\ud558\uae30 \uc704\ud574 searchd\ub97c \uc2e4\ud589\uc2dc\ud0a4\ub3c4\ub85d \ud55c\ub2e4. searchd\uac00 \uc911\ub2e8\ub418\uc5b4 \uc788\ub2e4\uba74 \uc811\uc18d\uc774 \uac70\ubd80\ub41c\ub2e4.<\/span><\/div><div><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">cd \/usr\/local\/sphinx\/bin<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">.\/searchd&nbsp;<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc811\uc18d\ud558\ub3c4\ub85d \ud55c\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">mysql -h0 -P9306&nbsp;<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><\/div><div><p style=\"text-align: start; clear: none; float: none;\"><span class=\"imageblock\" style=\"display:inline-block;width:637px;;height:auto\"><span dir=\"http:\/\/cfile2.uf.tistory.com\/original\/0167E44F51C59A4305FA97\" rel=\"lightbox\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/cfile2.uf.tistory.com\/image\/0167E44F51C59A4305FA97\" height=\"392\" width=\"637\"><\/span><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">SphinxQL\uc740 MySQL\uc758 \ucffc\ub9ac\ubb38\uacfc\ub294 \uc870\uae08 \ub2e4\ub974\ub098 \uc544\uc8fc \uae30\ubcf8\uc801\uc778 SELECT \ubb38\uc740 \uac19\uc73c\ubbc0\ub85c \uc77c\ub2e8 \uc544\ub798\ucc98\ub7fc \ud55c\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ucc38\uace0\ud560 \uc810\uc740 FROM \ub4a4\uc5d0 \uc624\ub294 Table\uba85\uc740 \uc544\uae4c sphinx.conf \uc124\uc815\uc5d0 \uc0ac\uc6a9\ud588\ub358 index\uba85\uc744 \uc0ac\uc6a9\ud558\uba74 \ub41c\ub2e4\ub294 \uc810\uc774\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">SELECT * FROM zipcode;&nbsp;<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc774\uc81c \uc544\ub798\ucc98\ub7fc \uac80\uc0c9 \uacb0\uacfc\uac00 \ub098\uc624\uba74 Sphinx\uac00 \uc815\uc0c1\uc801\uc73c\ub85c \uc2e4\ud589\ub41c \uac83\uc774\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: start; clear: none; float: none;\"><span class=\"imageblock\" style=\"display:inline-block;width:749px;;height:auto\"><span dir=\"http:\/\/cfile3.uf.tistory.com\/original\/0162E44D51C59B0E160FCA\" rel=\"lightbox\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/cfile3.uf.tistory.com\/image\/0162E44D51C59B0E160FCA\" height=\"392\" width=\"749\"><\/span><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><\/div><div><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><\/div><\/div><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">Sphinx 3\ubd80\uc5d0\uc11c\ub294 SphixQL\uacfc \uc124\uc815\ud30c\uc77c\uc758 \uc0c1\uc138\ud55c \uc124\uc815\uc5d0&nbsp;\ub300\ud574 \uc124\uba85\ud558\uaca0\ub2e4.<\/span><\/p><p><br \/><\/p><p><b><span style=\"font-size: 12pt; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc18c\uac1c<\/span><\/b><\/p><div><hr style=\"display:block; border: black 0 none; border-top: black 1px solid; height: 1px\"><\/div><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">2\ubd80\uc5d0\uc11c\ub294 \uac04\ub2e8\ud55c \uc608\uc81c\ub97c \ud1b5\ud574 Sphinx\ub97c \ud65c\uc6a9\ud55c \uac80\uc0c9\uc744 \ud574\ubd24\ub2e4. (\uc2e4\uc81c\ub85c \uac80\uc0c9\uc740 \uc544\ub2c8\uace0 \ucd9c\ub825\uc77c \ubfd0\uc774\uc5c8\ub2e4!!)<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc774\uc81c SphinxQL\uc744 \ud1b5\ud574 \uac80\uc0c9\uc744 \ud558\uace0, \uc6d0\ud558\ub294 \uacb0\uacfc\uac12\uc744 \uac00\uc838\uc624\ub3c4\ub85d \ud658\uacbd\uc124\uc815\uac12\uc744 \ubcc0\uacbd\ud558\ub3c4\ub85d&nbsp;\ud574\ubcf4\uc790.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc5ec\uae30\uc11c\ub294&nbsp;<\/span><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">2\ubd80\uc5d0\uc11c \uc0ac\uc6a9\ud55c test.sql \uc608\uc81c\ub97c \uac00\uc9c0\uace0 \uac80\uc0c9\ud574\ubcf4\ub3c4\ub85d \ud55c\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><b><span style=\"font-size: 12pt;\"><br \/><\/span><\/b><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><b><span style=\"font-size: 12pt; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uac04\ub2e8\ud55c \uac80\uc0c9<\/span><\/b><\/p><div><hr style=\"display:block; border: black 0 none; border-top: black 1px solid; height: 1px\"><\/div><p><span style=\"font-size: 9pt; line-height: 1.5;\"><br \/><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">MySQL\uc5d0\uc11c \uac80\uc0c9\uc2dc\uc5d0\ub294 \ud544\ub4dc\uba85='\ucc3e\uc744\uac12' \ud615\uc2dd\uc73c\ub85c \uc0ac\uc6a9\ud588\uc5c8\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ud558\uc9c0\ub9cc SphinxQL\uc5d0\uc11c\ub294 MATCH() \ub77c\ub294 \uac83\uc744 \uc0ac\uc6a9\ud55c\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-size: 9pt; line-height: 1.5;\"><br \/><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc544\ub798\ucc98\ub7fc \uac80\uc0c9\uc744 \ud558\ub3c4\ub85d \ud558\uc790.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">SELECT * FROM zipcode WHERE MATCH('\ud64d\uc131');<\/span><\/p><\/td><\/tr><\/tbody><\/table><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><div><p style=\"text-align: center; clear: none; float: none;\"><span class=\"imageblock\" style=\"display:inline-block;width:882px;;height:auto\"><span dir=\"http:\/\/cfile21.uf.tistory.com\/original\/2732104E51C5A6D9080ED5\" rel=\"lightbox\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/cfile21.uf.tistory.com\/image\/2732104E51C5A6D9080ED5\" height=\"405\" width=\"882\"><\/span><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><div><br \/><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uac80\uc0c9\ud55c \uacb0\uacfc\uac00 \ub098\ud0c0\ub0ac\ub2e4.<\/span><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc774\ucc98\ub7fc MATCH()\ub97c \uc0ac\uc6a9\ud558\uba74 \ub418\ub294\ub370, \uaf2d '' \uc0ac\uc774\uc5d0 \uac80\uc0c9\uc5b4\ub97c \ub123\ub3c4\ub85d \ud55c\ub2e4.<\/span><\/div><div><br \/><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uacb0\uacfc\ub97c \ubcf4\uba74&nbsp;<\/span><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">20\uac1c\uc758 \uac80\uc0c9\uacb0\uacfc \uac12\uc744 \uac00\uc838\uc628 \uac83\uc744 \ubcfc \uc218 \uc788\ub2e4.<\/span><\/div><\/div><div><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">20\uac1c \uc774\uc0c1\uc758 \uacb0\uacfc\uac12\uc744 \uc6d0\ud558\uba74&nbsp;<\/span><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">LIMIT\ub97c \uc0ac\uc6a9\ud558\uba74 \ub41c\ub2e4.<\/span><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">SELECT * FROM zipcode WHERE MATCH('\ud64d\uc131') LIMIT 100;<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc774\uc81c 2\uac1c \uc774\uc0c1\uc758 \ub2e8\uc5b4 \uac80\uc0c9\uc744 \ud574\ubcf4\uc790<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">SELECT * FROM zipcode WHERE MATCH('\ud64d\uc131 \uac08\uc0b0');<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;<\/span><\/p><\/td><\/tr><\/tbody><\/table><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: center;\"><span class=\"imageblock\" style=\"display:inline-block;width:882px;text-align: center;;height:auto\"><span dir=\"http:\/\/cfile26.uf.tistory.com\/original\/2138CA4A51C5A7FA225BD7\" rel=\"lightbox\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/cfile26.uf.tistory.com\/image\/2138CA4A51C5A7FA225BD7\" style=\"text-align: center;\" height=\"405\" width=\"882\"><\/span><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc774\ucc98\ub7fc \uc5ec\ub7ec\uac1c\ub97c \uac80\uc0c9 \ud560 \uc218 \uc788\ub2e4. \ud558\uc9c0\ub9cc \uc544\ub798\ucc98\ub7fc \ub744\uc5b4 \uc4f0\uae30 \uc5c6\uc774 \ub2e4\uc2dc \uc785\ub825\ud574 \ubcf4\uc790<\/span><\/p><table class=\"txc-table\" style=\"border: none; border-collapse: collapse; font-family: \ub3cb\uc6c0; font-size: 12px;\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"line-height: 1.5; font-size: 9pt; font-family: \ub3cb\uc6c0; color: rgb(51, 51, 51); width: 894px; height: 24px; border: 1px solid rgb(204, 204, 204);\"><p style=\"margin-top: 0px; margin-bottom: 0px;\"><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">SELECT * FROM zipcode WHERE MATCH('\ud64d\uc131\uac08\uc0b0');<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;<\/span><\/p><\/td><\/tr><\/tbody><\/table><\/div><div><p style=\"text-align: center; clear: none; float: none;\"><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: center; clear: none; float: none;\"><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: center; clear: none; float: none;\"><span class=\"imageblock\" style=\"display:inline-block;width:882px;;height:auto\"><span dir=\"http:\/\/cfile24.uf.tistory.com\/original\/02055B4851C5AB0F24295F\" rel=\"lightbox\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/cfile24.uf.tistory.com\/image\/02055B4851C5AB0F24295F\" height=\"405\" width=\"882\"><\/span><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: center; clear: none; float: none;\"><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: start; clear: none; float: none;\"><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: start; clear: none; float: none;\"><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uacb0\uacfc\uac12\uc774 \ub3d9\uc77c\ud558\ub2e4\ub294 \uac83\uc744&nbsp;\uc54c \uc218 \uc788\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: start; clear: none; float: none;\"><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc774\uac83\uc774 \ubc14\ub85c n-gram \uac80\uc0c9\ubc29\uc2dd\uc758 \ud2b9\uc9d5\uc774\ub2e4.&nbsp;<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: start; clear: none; float: none;\"><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">'\ud64d\uc131\uac08\uc0b0', '\uac08\uc0b0\ud64d\uc131', '\ud64d\uc0b0\uac08\uc131', '\uac08\ud64d\uc0b0\uc131' \ub4f1\ub4f1 \uae00\uc790 \uc21c\uc11c\ub97c \ubcc0\uacbd\ud574\ub3c4, \ub3d9\uc77c\ud55c \uac80\uc0c9 \uacb0\uacfc\ub97c \uac00\uc838\uc624\ub294 \uac83\uc744 \uc54c\uac8c \ub420 \uac83\uc774\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: start; clear: none; float: none;\"><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: start; clear: none; float: none;\"><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: center; clear: none; float: none;\"><span class=\"imageblock\" style=\"display:inline-block;width:882px;;height:auto\"><span dir=\"http:\/\/cfile22.uf.tistory.com\/original\/0237ED4D51C5ABC437C737\" rel=\"lightbox\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/cfile22.uf.tistory.com\/image\/0237ED4D51C5ABC437C737\" height=\"405\" width=\"882\"><\/span><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: start; clear: none; float: none;\"><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: start; clear: none; float: none;\"><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: start; clear: none; float: none;\"><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: start; clear: none; float: none;\"><b><span style=\"font-size: 12pt;\"><br \/><\/span><\/b><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: start; clear: none; float: none;\"><b><span style=\"font-size: 12pt; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uad6c\ubb38 \uac80\uc0c9 (Parse Search)<\/span><\/b><\/p><div style=\"text-align: start; clear: none; float: none;\"><hr style=\"display:block; border: black 0 none; border-top: black 1px solid; height: 1px\"><\/div><p style=\"text-align: start; clear: none; float: none;\"><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: start; clear: none; float: none;\"><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc77c\ub2e8 \uc544\ub798\ucc98\ub7fc \uac80\uc0c9\ud574\ubcf4\uc790<\/span><\/p><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">SELECT * FROM zipcode WHERE MATCH('\uc11c\uc0b0');<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><p style=\"text-align: start; clear: none; float: none;\"><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: start; clear: none; float: none;\"><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: center; clear: none; float: none;\"><span class=\"imageblock\" style=\"display:inline-block;width:882px;;height:auto\"><span dir=\"http:\/\/cfile23.uf.tistory.com\/original\/2609E25051C5AC882C7013\" rel=\"lightbox\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/cfile23.uf.tistory.com\/image\/2609E25051C5AC882C7013\" height=\"405\" width=\"882\"><\/span><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><span id=\"callbacknestsacstorytistorycom2393831\" style=\"width:1px; height:1px; float:right\"><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uac80\uc0c9\ud574\ubcf4\uba74&nbsp;\uc11c\uc6b8\ub3c4 \ub098\uc624\uace0, \uc804\ubd81\ub3c4 \ub098\uc628\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc804\ubd81\uc774 \ub098\uc628 Row\ub97c \ubcf4\uba74&nbsp;<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc804\ubd81 \uc804\uc8fc\uc2dc \uc644<\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc0b0<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uad6c <\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc11c<\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc11c<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ud559\ub3d9 <\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc0b0<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\"> 81 \ub77c\uace0 \ub418\uc5b4\uc788\ub2e4. \uc989 \uc11c\uc640 \uc0b0\uc790\uac00 \ucd1d 4\uac1c \ud3ec\ud568\ub418\uc5b4 \uc788\uae30 \ub54c\ubb38\uc5d0 \uc0c1\uc704 \uacb0\uacfc\uac12\uc73c\ub85c \ub098\uc628\uac83\uc774\ub2e4.&nbsp;<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">1\uc704\ub85c \ub098\uc628 Row\ub294 5\uc790\uac00 \ud3ec\ud568\ub418\uc5b4 \uc788\uc74c\uc744&nbsp;<\/span><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ud559\uc778 \ud560 \uc218 \uc788\ub2e4.&nbsp;<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc774\ucc98\ub7fc \uc77c\uce58\ud558\ub294 \uac80\uc0c9\uc774 \uba87\uac1c\uc774\uace0, \uc5bc\ub9c8\ub098 \uc5f0\uad00\uc131\uc774 \uc788\ub294\uc9c0\uc5d0 \ub530\ub77c weight\uac12\uc774 \uacb0\uc815\uc774 \ub418\uba74 \uac00\uc7a5 \ub192\uc740 weight\uac12 \uc21c\uc73c\ub85c \uc815\ub82c\ub418\uc5b4 \uac80\uc0c9 \uacb0\uacfc\uac00 \ub098\uc624\ub294 \uac83\uc774\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uadf8\ub7fc \uc774\uc81c \uad6c\ubb38\uc73c\ub85c \uac80\uc0c9\ud558\uae30 \uc704\ud574 \uac80\uc0c9\uc5b4 \uc591 \uc606\uc5d0 \ub530\uc634\ud45c\ub97c \ubd99\uc774\ub3c4\ub85d \ud558\uc790.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">SELECT * FROM zipcode WHERE MATCH('\"\uc11c\uc0b0\"');<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;<\/span><\/p><\/td><\/tr><\/tbody><\/table><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><\/div><div><p style=\"text-align: center; clear: none; float: none;\"><span class=\"imageblock\" style=\"display:inline-block;width:882px;;height:auto\"><span dir=\"http:\/\/cfile29.uf.tistory.com\/original\/24675F4A51C5ADFF24A9BB\" rel=\"lightbox\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/cfile29.uf.tistory.com\/image\/24675F4A51C5ADFF24A9BB\" height=\"405\" width=\"882\"><\/span><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><br \/><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc6d0\ud558\ub294 \uac12\uc774 \ub098\uc624\ub294 \uac83\uc744 \uc54c \uc218 \uc788\ub2e4.<\/span><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc774\ucc98\ub7fc \uc30d\ub530\uc634\ud45c\ub85c \uac80\uc0c9\uc5b4\ub97c \uac10\uc2f8\uc8fc\uba74 \uad6c\ubb38\uc73c\ub85c \uac80\uc0c9\uc774 \ub41c\ub2e4.<\/span><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc751\uc6a9\uc73c\ub85c \uc544\ub798\ucc98\ub7fc \uac80\uc0c9\uc5b4 2\uac1c\ub97c \uac01\uac01 \ub530\uc634\ud45c\ub85c \ucc98\ub9ac\ud574\uc8fc\uace0, \uc27c\ud45c \uc5c6\uc774 \uac80\uc0c9\ud574\uc8fc\uba74 \uc6d0\ud558\ub294 \uac12\uc744 \uc27d\uac8c \ucc3e\uc744 \uc218 \uc788\uac8c\ub41c\ub2e4.<\/span><\/div><div><table class=\"txc-table\" style=\"border: none; border-collapse: collapse; font-size: 12px;\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width: 894px; height: 24px; border: 1px solid rgb(204, 204, 204);\"><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">SELECT * FROM zipcode WHERE MATCH('\"\uc11c\uc0b0\" \"\uace0\ubd81\"');<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;<\/span><\/p><\/td><\/tr><\/tbody><\/table><\/div><div><br \/><\/div><div><br \/><\/div><div><p style=\"text-align: center; clear: none; float: none;\"><span class=\"imageblock\" style=\"display:inline-block;width:882px;;height:auto\"><span dir=\"http:\/\/cfile9.uf.tistory.com\/original\/237FF34F51C5AEF016CDA3\" rel=\"lightbox\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/cfile9.uf.tistory.com\/image\/237FF34F51C5AEF016CDA3\" height=\"405\" width=\"882\"><\/span><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><p><br \/><\/p><\/div><div><br \/><\/div><div><b><span style=\"font-size: 12pt; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ud544\ub4dc \uac80\uc0c9 (Field Search)<\/span><\/b><div><hr style=\"display:block; border: black 0 none; border-top: black 1px solid; height: 1px\"><\/div><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uacf5\uc8fc\ub77c\uace0 \uac80\uc0c9\ud574\ubcf4\uc790<\/span><\/p><\/div><div><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width: 894px; height: 24px; border: 1px solid rgb(204, 204, 204);\"><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">SELECT * FROM zipcode WHERE MATCH('\"\uacf5\uc8fc\"');<\/span><\/p><\/td><\/tr><\/tbody><\/table><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><br \/><\/div><div><p style=\"text-align: center; clear: none; float: none;\"><span class=\"imageblock\" style=\"display:inline-block;width:882px;;height:auto\"><span dir=\"http:\/\/cfile25.uf.tistory.com\/original\/262CA94A51C5B16A0D8A6E\" rel=\"lightbox\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/cfile25.uf.tistory.com\/image\/262CA94A51C5B16A0D8A6E\" height=\"405\" width=\"882\"><\/span><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ubaa8\ub4e0 \ud544\ub4dc\uc5d0\uc11c \uacf5\uc8fc\ub77c\ub294 \uac80\uc0c9\uc5b4\ub97c \ucc3e\uac8c\ub41c\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ub9cc\uc57d \ub0b4\uac00 \uc6d0\ud558\ub294 \uac83\uc774 suburb\uc5d0 \uc788\ub294 \uacf5\uc8fc\ub77c\uace0 \ud55c\ub2e4\uba74 \ud544\ub4dc\uba85\uc744 \uba85\uc2dc\ud574\uc8fc\uba74 \ub41c\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ud544\ub4dc \uac80\uc0c9\uc2dc\uc5d0\ub294 \ud544\ub4dc\uba85 \uc55e\uc5d0 @\ub97c \ubd99\uc774\uace0 \ud55c\uce78 \ub6f0\uba74 \ub41c\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">SELECT * FROM zipcode WHERE MATCH('@suburb \"\uacf5\uc8fc\"');<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;<\/span><\/p><\/td><\/tr><\/tbody><\/table><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><\/div><div><p style=\"text-align: center; clear: none; float: none;\"><span class=\"imageblock\" style=\"display:inline-block;width:882px;;height:auto\"><span dir=\"http:\/\/cfile8.uf.tistory.com\/original\/213C074A51C5B2520B85C9\" rel=\"lightbox\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/cfile8.uf.tistory.com\/image\/213C074A51C5B2520B85C9\" height=\"405\" width=\"882\"><\/span><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ub9cc\uc57d \uac80\uc0c9\ud560 \ud544\ub4dc\uac00 2\uac1c \uc774\uc0c1\uc774\ub77c\uba74 \uc544\ub798\ucc98\ub7fc \uac00\ub85c\uc548\uc5d0 \ud544\ub4dc\uba85\uc744 \uc801\uace0 \uc27c\ud45c\ub85c \uad6c\ubd84\ud574 \uc8fc\uba74 \ub41c\ub2e4. <\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc8fc\uc758\ud560\uc810\uc740 \uc27c\ud45c\ub4a4\uc5d0 \uacf5\ubc31\uc774 \uc5c6\uc5b4\uc57c \ud55c\ub2e4\ub294 \uc810\uc774\ub2e4.<\/span><\/p><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">SELECT * FROM zipcode WHERE MATCH('@(city,suburb) \"\uacf5\uc8fc\"');<\/span><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><p><br \/><\/p><\/div><div><br \/><\/div><div><br \/><\/div><div><b><span style=\"font-size: 12pt; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ud544\ub4dc\ubcc4 \uc6b0\uc120 \uac80\uc0c9<\/span><\/b><div><hr style=\"display:block; border: black 0 none; border-top: black 1px solid; height: 1px\"><\/div><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc5ec\ub7ec \ud544\ub4dc\ub97c \uac80\uc0c9\ud588\uc744\ub54c, \uac80\uc0c9\ub41c \ub2e8\uc5b4\uac00 \uac00\uc7a5 \ub9ce\uc740 \ub370\uc774\ud130\ubd80\ud130 \ub098\uc624\uac8c \ub41c\ub2e4.<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ub9cc\uc57d \uac80\uc0c9\uc2dc title\uc5d0 \uc77c\uce58\ub41c \uac12\uc774 \ub2e4\ub978 \ud544\ub4dc\uc5d0\uc11c \uc77c\uce58\ub41c \uac12\ubcf4\ub2e4 \ub354 \uc911\uc694\ud55c \uac80\uc0c9 \uacb0\uacfc\uac12\uc744 \uac00\uc9c0\uace0 \uc788\uae30 \ub54c\ubb38\uc5d0&nbsp;\uc0c1\uc704 \uacb0\uacfc\uac12\uc73c\ub85c \ucd9c\ub825\ud574 \uc918\uc57c \ud55c\ub2e4\uba74&nbsp;<\/span><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ud544\ub4dc\ubcc4\ub85c weight\uac12\uc744 \uc8fc\uba74 \ub41c\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc77c\ub2e8 \uc544\ub798\ucc98\ub7fc \uac80\uc0c9\ud574\ubcf4\uc790<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width: 894px; height: 24px; border: 1px solid rgb(204, 204, 204);\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">SELECT title, publisher FROM book WHERE MATCH ('\"\uc5b4\ub9b0\uc774\"');<\/span><\/p><\/td><\/tr><\/tbody><\/table><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: center; clear: none; float: none;\"><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: center; clear: none; float: none;\"><span class=\"imageblock\" style=\"display:inline-block;width:882px;;height:auto\"><span dir=\"http:\/\/cfile30.uf.tistory.com\/original\/2630DF4C51C67A8D0C2914\" rel=\"lightbox\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/cfile30.uf.tistory.com\/image\/2630DF4C51C67A8D0C2914\" height=\"405\" width=\"882\"><\/span><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: center; clear: none; float: none;\"><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uac80\uc0c9 \uacb0\uacfc\uc5d0\uc11c title\uc5d0 \uc5b4\ub9b0\uc774 \ub77c\ub294 \uac12\uc774 \uc5c6\uc74c\uc5d0\ub3c4 publisher\uc5d0\uc11c \uc5b4\ub9b0\uc774\uac00 \uc788\uae30\uc5d0 \uc0c1\uc704\ub85c \ub4e4\uc5b4\uc654\ub2e4.<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ucc45\uc744 \ucc3e\uace0 \uc2f6\uc740\ub370, \uc81c\uacf5\uc0ac\uc758 \ucc45 \uacb0\uacfc\uac12\uc744 \uac00\uc838\uc624\ub294 \uac83\uc740 \uac80\uc0c9\uc5d0 \ube44\ud6a8\uc728\uc801\uc774\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc544\ub798\ucc98\ub7fc weight\uac12\uc744 \uc918\ubcf4\uc790.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width: 894px; height: 24px; border: 1px solid rgb(204, 204, 204);\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">SELECT title, publisher FROM book WHERE MATCH ('\"\uc5b4\ub9b0\uc774\"') OPTION FIELD_WEIGHTS=(title=2,publisher=1);<\/span><\/p><\/td><\/tr><\/tbody><\/table><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: center; clear: none; float: none;\"><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: center; clear: none; float: none;\"><span class=\"imageblock\" style=\"display:inline-block;width:882px;;height:auto\"><span dir=\"http:\/\/cfile25.uf.tistory.com\/original\/236B2D4851C67A6A0E68A7\" rel=\"lightbox\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/cfile25.uf.tistory.com\/image\/236B2D4851C67A6A0E68A7\" height=\"405\" width=\"882\"><\/span><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: center; clear: none; float: none;\"><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ud544\ub4dc title\uc5d0 2\uac12\uc744 \uc8fc\uace0, publisher\uc5d0\ub294 1\uac12\uc758 weight \uac12\uc744 \uc8fc\uc5c8\ub2e4. (1\uac12\uc740 \uae30\ubcf8\uac12\uc73c\ub85c \uba85\uc2dc\ud558\uc9c0 \uc54a\uc544\ub3c4 \ub41c\ub2e4.)<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ub530\ub77c\uc11c \ub9cc\uc57d title\uc5d0 \uc5b4\ub9b0\uc774\uac00 \uc77c\uce58\ud558\uba74 weight\uac12\uc774 publisher\uc5d0\uc11c \uc77c\uce58\ud558\ub294 \uac12\ubcf4\ub2e4 \ucee4\uc9c0\uac8c \ub418\uc5b4 \uac80\uc0c9 \uacb0\uacfc\uc5d0 \uc0c1\uc704\ub85c \ub098\uc628\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc774\uc81c \uac80\uc0c9\uc2dc \ucc45 \uc704\uc8fc\ub85c \uac80\uc0c9\uc744 \ud558\ub3c4\ub85d \ud55c \uac83\uc774\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-size: 12pt;\"><b><br \/><\/b><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-size: 12pt;\"><b><br \/><\/b><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><font size=\"3\"><span style=\"line-height: 24px;\"><b><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc640\uc77c\ub4dc\uce74\ub4dc \uac80\uc0c9 (Wildcard Search)<\/span><\/b><\/span><\/font><\/p><div><hr style=\"display:block; border: black 0 none; border-top: black 1px solid; height: 1px\"><\/div><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ub9cc\uc57d\uc5d0 \uc77c\ubd80\ubd84\uc744 \uac80\uc0c9\ud574\uc57c \ud55c\ub2e4\uba74,&nbsp;\uc640\uc77c\ub4dc\uce74\ub4dc\ub97c \uc0ac\uc6a9\ud558\uba74 \ub41c\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc608\ub97c \ub4e4\uba74 \uc544\ub798\ucc98\ub7fc \uac80\uc0c9&nbsp;\ud55c\ub2e4\uba74 \uc624\ub85c\uc9c0 7000\uac12\ub9cc\uc744 \ucc3e\uac8c \ub41c\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">SELECT title,price FROM book WHERE MATCH('@price 7000');<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;<\/span><\/p><\/td><\/tr><\/tbody><\/table><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: center; clear: none; float: none;\"><br \/><\/p><p style=\"text-align: center; clear: none; float: none;\"><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: center; clear: none; float: none;\"><span class=\"imageblock\" style=\"display:inline-block;width:882px;;height:auto\"><span dir=\"http:\/\/cfile8.uf.tistory.com\/original\/2540443E51C8F95635F825\" rel=\"lightbox\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/cfile8.uf.tistory.com\/image\/2540443E51C8F95635F825\" height=\"405\" width=\"882\"><\/span><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ud558\uc9c0\ub9cc \uc640\uc77c\ub4dc\uce74\ub4dc\uc778 *\uc744 \uc0ac\uc6a9\ud574\uc11c \uc544\ub798\ucc98\ub7fc \uac80\uc0c9\ud558\uba74 \ub2e4\uc74c\uacfc \uac19\uc740 \uacb0\uacfc\ub97c \uc5bb\uc744 \uc218 \uc788\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">SELECT title,price FROM book WHERE MATCH('@price *7000');<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;<\/span><\/p><\/td><\/tr><\/tbody><\/table><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: center; clear: none; float: none;\"><span class=\"imageblock\" style=\"display:inline-block;width:882px;;height:auto\"><span dir=\"http:\/\/cfile24.uf.tistory.com\/original\/0317C23D51C8F937089589\" rel=\"lightbox\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/cfile24.uf.tistory.com\/image\/0317C23D51C8F937089589\" height=\"405\" width=\"882\"><\/span><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ubc14\ub85c \uc55e\uc5d0 *\uc744 \ubd99\uc774\uba74 \uac80\uc0c9\uc5b4\uc640 \uc77c\ucc28\ud558\ub294 \uac12\uacfc \ub354\ubd88\uc5b4 *\uac00 \ubd99\uc740 \ubd80\ubd84\uc5d0\uc11c \uc77c\uce58\ud558\ub294 \ubaa8\ub4e0 \uacb0\uacfc\uac12\uc744 \uac00\uc838\uc624\uac8c \ub41c\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ud558\uc9c0\ub9cc \uc640\uc77c\ub4dc\uce74\ub4dc\ub97c \uc0ac\uc6a9\ud558\ub824\uba74 sphinx.onf \ud30c\uc77c\uc5d0 \uc124\uc815\uc744 \ub530\ub85c \ud574\uc918\uc57c \ud55c\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc124\uc815\uc744 \ud574\uc8fc\uc9c0 \uc54a\ub294\ub2e4\uba74, *\uac12\uc744 \uc778\uc2dd\ud558\uc9c0 \ubabb\ud558\uac8c \ub41c\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc124\uc815\uc740 \ub2e4\uc74c\uacfc \uac19\uc774 \ud55c\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width: 894px; height: 24px; border: 1px solid rgb(204, 204, 204);\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">index \uc778\ub371\uc2a4\uba85<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">{<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">...<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">...<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">charset_table = 0..9..........<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">...<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">enable_star=1<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">min_infix_len=2<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">#min_prefix_len=2<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">...<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">...<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">}&nbsp;<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">enable_star\ub294 \uc640\uc77c\ub4dc\uce74\ub4dc\ub97c \uc0ac\uc6a9\ud55c\ub2e4\ub294 \uac83\uc73c\ub85c 1\uac12\uc774\uba74 \uc0ac\uc6a9\ud55c\ub2e4\ub294 \ub73b\uc774\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">min_infix_len\uacfc min_prefix_len\uc758 \uae38\uc774\ub294 \ucd5c\uc18c \uba87\uac1c\uc758 \uac12\uc73c\ub85c \ucabc\uac24 \uac83\uc778\uac00\uc774\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc608\ub97c \ub4e4\uba74 test\ub97c 2\ub85c \ucabc\uac1c\uba74, te, es, st, tes, est, test \ub4f1\uc73c\ub85c \ucd5c\uc18c \ud06c\uae30\uc778 2\ubd80\ud130 \uc778\ub371\uc2f1\uc744 \ud574\ub450\ub294 \uac83\uc774\ub2e4.<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ub530\ub77c\uc11c \ub9cc\uc57d *st \ub77c\uace0 \uac80\uc0c9\ud558\uba74 test\uac00 \uac80\uc0c9\ub418\ub294 \uac83\uc774\ub2e4.<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">infix\uc640 prefix\uc758 \ucc28\uc774\uc810\uc740 \ub2e4\uc74c \uc0ac\uc774\ud2b8\ub97c \ucc38\uace0\ud55c\ub2e4.&nbsp;<\/span><\/p><p><a href=\"http:\/\/sphinxsearch.com\/docs\/manual-2.0.8.html#conf-min-prefix-len\" target=\"_blank\" style=\"font-size: 9pt; line-height: 1.5;\" rel=\"noopener\"><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">http:\/\/sphinxsearch.com\/docs\/manual-2.0.8.html#conf-min-prefix-len<\/span><\/a><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"color: rgb(255, 0, 0);\"><br \/><\/span><\/p><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ucc38\uace0\ub85c, enable_star=1\uac12\uc73c\ub85c \ud558\uba74 \ubaa8\ub4e0 \ud544\ub4dc\uc5d0 \uc801\uc6a9\ub41c\ub2e4. \ub9cc\uc57d, \ud2b9\uc815\ud55c \ud544\ub4dc\ub9cc \uc640\uc77c\ub4dc\uce74\ub4dc\ub97c \uc0ac\uc6a9\ud55c\ub2e4\uba74 \uc544\ub798\ucc98\ub7fc \uc124\uc815 \ud560 \uc218 \uc788\ub2e4.<\/span><\/p><p><br \/><\/p><table class=\"txc-table\" style=\"border: none; border-collapse: collapse; font-size: 12px;\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"line-height: 16px; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">infix_fields = price, \ub4f1\ub4f1 \ud544\ub4dc\uba85<\/span><\/p><p><span style=\"font-size: 9pt; line-height: 16px; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">prefix_fields = content, \ub4f1\ub4f1 \ud544\ub4dc\uba85<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc8fc\uc758\ud560 \uc810\uc73c\ub85c\ub294 min_infix_len\uc640 min_prefix_len\uc740 \ub3d9\uc2dc\uc5d0 \uc0ac\uc6a9 \ud560 \uc218 \uc5c6\uc73c\ubbc0\ub85c \ub458\uc911 \ud558\ub098\ub9cc \uc120\ud0dd\ud574\uc57c \ud55c\ub2e4.&nbsp;<\/span><\/p><p><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">(\ub2e8,&nbsp;infix_fields \ucc98\ub7fc \ud544\ub4dc\ubcc4 \uc124\uc815\uc744 \ud55c\ub2e4\uba74 \ub3d9\uc2dc\uc0ac\uc6a9 \uac00\ub2a5)<\/span><\/p><p><br \/><\/p><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><b><span style=\"font-size: 12pt; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc815\ub82c<\/span><\/b><\/p><div><hr style=\"display:block; border: black 0 none; border-top: black 1px solid; height: 1px\"><\/div><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">MySQL\uc5d0\uc11c \ucc98\ub7fc \uc815\ub82c \uae30\ub2a5\uc774 \ud544\uc694 \ud560\ub54c ORDER BY \uad6c\ubb38\uc744 \uc0ac\uc6a9\ud558\uba74 \ub41c\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ud558\uc9c0\ub9cc \uc870\uae08 \ub2e4\ub978\uc810\uc740 \ubc18\ub4dc\uc2dc ASC\ub098 DESC \ub458\uc911 \ud558\ub098\ub97c \ubc18\ub4dc\uc2dc \uc368\uc918\uc57c \ud55c\ub2e4. \ubcf4\ud1b5 MySQL\uc5d0\uc11c\ub294 ASC\ub97c \uc0dd\ub7b5\ud558\uace0 \uc4f0\ub294\ub370, Sphinx\uc5d0\uc11c\ub294 \uc0dd\ub7b5\uc744 \ud560 \uc218 \uc5c6\ub2e4\ub294 \uac83\uc774\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc774\uc81c \uc544\ub798\ucc98\ub7fc \uc815\ub82c\ud574\ubcf4\uc790.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">SELECT * FROM shop ORDER BY price DESC;<\/span><\/p><\/td><\/tr><\/tbody><\/table><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: center; clear: none; float: none;\"><span class=\"imageblock\" style=\"display:inline-block;width:882px;;height:auto\"><span dir=\"http:\/\/cfile25.uf.tistory.com\/original\/0218053351C8FF992624C0\" rel=\"lightbox\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/cfile25.uf.tistory.com\/image\/0218053351C8FF992624C0\" height=\"405\" width=\"882\"><\/span><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uac00\uaca9\uc774 \ub192\uc740 \uc21c\uc73c\ub85c \uc798 \uc815\ub82c\ub418\uc5b4 \uc788\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uadf8\ub7fc \uc774\uc81c \uc815\ub82c\ud560 \ud544\ub4dc\ub97c s_price\ub85c \ubc14\uafd4&nbsp;\ub2e4\uc2dc \uac80\uc0c9\ud574\ubcf4\uc790.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width: 894px; height: 24px; border: 1px solid rgb(204, 204, 204);\"><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">SELECT * FROM shop ORDER BY s_price DESC;<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: center; clear: none; float: none;\"><span class=\"imageblock\" style=\"display:inline-block;width:882px;;height:auto\"><span dir=\"http:\/\/cfile24.uf.tistory.com\/original\/2576D83A51C8FFD9025710\" rel=\"lightbox\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/cfile24.uf.tistory.com\/image\/2576D83A51C8FFD9025710\" height=\"405\" width=\"882\"><\/span><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ubd84\uba85 price\uc640 s_price\ub294 \ud544\ub4dc\uba85\ub9cc \ub2e4\ub97c\ubfd0 \uac19\uc740 \uac12\uc744 \uac00\uc9c4&nbsp;\ud544\ub4dc\uc774\uc9c0\ub9cc, \uc815\ub82c\ub41c \uacb0\uacfc\uac12\uc740 \uc11c\ub85c \ub2e4\ub974\ub2e4.<\/span><\/p><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc774\uc81c \uc774\ub7f0 \uc774\uc720\ub97c \uc7a0\uc2dc \uc124\uba85\ud574\ubcf4\uae30 \uc704\ud574 sphinx.conf\uc5d0 \uc124\uc815\ub41c \uac12\uc744 \ubcfc \ud544\uc694\uac00 \uc788\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">source shop<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">{<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">...<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">...<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sql_query_pre = SET NAMES utf8<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sql_query = SELECT sn, price, price AS s_price, pack_count, item_name, npc_name FROM shop WHERE sphinx_yn='Y'<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; <\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp;sql_attr_bigint &nbsp; &nbsp; &nbsp; &nbsp; = price<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sql_field_string &nbsp; &nbsp; &nbsp; &nbsp;= s_price<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sql_field_string &nbsp; &nbsp; &nbsp; &nbsp;= pack_count<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sql_field_string &nbsp; &nbsp; &nbsp; &nbsp;= pack_count<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sql_field_string &nbsp; &nbsp; &nbsp; &nbsp;= item_name<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sql_field_string &nbsp; &nbsp; &nbsp; &nbsp;= npc_name<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">...<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">...<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">}<\/span><\/p><\/td><\/tr><\/tbody><\/table><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><div><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">Sphinx\uc5d0\uc11c\ub294 \ud06c\uac8c 2\uac1c\uc758 \ud0c0\uc785\uc774 \uc788\ub294\ub370&nbsp;<\/span><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">Attribute\uc640 Field\ub2e4.<\/span><\/div><div><br \/><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">Attribute : Full-Text \uae30\ub2a5 \uc5c6\uc74c. \uc815\ub82c, \ud544\ud130 \uae30\ub2a5 \uc788\uc74c.<\/span><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">Field : Full-Text \uae30\ub2a5\uc744 \uc9c0\uc6d0.<\/span><\/div><div><br \/><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc124\uc815\uc744 \ubcf4\uba74&nbsp;<\/span><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">2\uac1c\uc758 \ud0c0\uc785 sql_arttr_bigint\uc640 sql_field_string\uc774 \uac01\uac01 price\uc640 s_price\uc758 \ud0c0\uc785\uc73c\ub85c \uc120\uc5b4\ub418\uc5b4 \uc788\ub2e4.<\/span><\/div><div><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">price\ub294 Attribute\ub85c, s_price\ub294 Field\ub85c \uc120\uc5b8\ub41c \uac83\uc774\ub2e4.<\/span><\/div><div><span style=\"font-size: 9pt; line-height: 1.5;\"><br \/><\/span><\/div><div><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ub530\ub77c\uc11c \uc815\ub82c\uc744 \ud560\ub54c\ub294 sql_attr_bigint \ud0c0\uc785\uc73c\ub85c \uc120\uc5b8\ub41c price\ub85c \ud574\uc57c \ub418\ub294 \uac83\uc774\ub2e4.<\/span><\/div><div><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uadf8\ub9ac\uace0 \uc544\ub798\ucc98\ub7fc price\ub85c \uac80\uc0c9\uc744 \ud55c\ub2e4\uba74 \uc5c6\ub294 \ud544\ub4dc\ub77c\uace0 \uc5d0\ub7ec\uac00 \ucd9c\ub825\ub41c\ub2e4.<\/span><\/div><div><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">SELECT * FROM shop WHERE MATCH('@price 1000000');&nbsp;<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-size: 9pt; line-height: 1.5;\"><p><br \/><\/p><\/span><\/div><div><p style=\"text-align: center; clear: none; float: none;\"><span class=\"imageblock\" style=\"display:inline-block;width:882px;;height:auto\"><span dir=\"http:\/\/cfile9.uf.tistory.com\/original\/217B8B4E51C91DAC357AD8\" rel=\"lightbox\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/cfile9.uf.tistory.com\/image\/217B8B4E51C91DAC357AD8\" height=\"405\" width=\"882\"><\/span><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><br \/><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ud558\uc9c0\ub9cc, Full-Text\ub97c \ud1b5\ud55c \uac80\uc0c9\uc774 \uc548\ub418\ub294 \uac83\ubfd0\uc774\ub2e4. \uc989,&nbsp;MATCH() \ud568\uc218\ub97c \ud1b5\ud55c \uac80\uc0c9\uc774 \uc548\ub418\ub294 \uac83\uc774\ub2e4.<\/span><\/div><div><br \/><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc544\ub798 \uba85\ub839\uc5b4\ucc98\ub7fc \uc77c\ubc18\uc801\uc778 MySQL \ucffc\ub9ac\ubb38\ucc98\ub7fc \uac80\uc0c9\uc744 \ud558\uba74, \uac00\ub2a5\ud558\ub2e4.<\/span><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ub530\ub77c\uc11c \uad6c\uac04 \uac80\uc0c9\uc774\ub77c\ub358\uc9c0, \ub0a0\uc9dc \ub4f1\uc758 \uc815\ub82c \ub4f1\uc774 \ud544\uc694\ud55c \uacbd\uc6b0\uc5d0 Attribute \ud0c0\uc785\uc744 \uc0ac\uc6a9\ud558\ub294 \uac83\uc774\ub2e4.<\/span><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">SELECT * FROM shop WHERE price&gt;= 72 and price &lt;= 200;<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;<\/span><\/p><\/td><\/tr><\/tbody><\/table><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><\/div><div><p style=\"text-align: center; clear: none; float: none;\"><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: center; clear: none; float: none;\"><span class=\"imageblock\" style=\"display:inline-block;width:882px;;height:auto\"><span dir=\"http:\/\/cfile25.uf.tistory.com\/original\/2728954951C922D41135FD\" rel=\"lightbox\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/cfile25.uf.tistory.com\/image\/2728954951C922D41135FD\" height=\"405\" width=\"882\"><\/span><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc774 \ubc29\ubc95\uc744 \uc0ac\uc6a9\ud568\uc73c\ub85c\uc11c, \ud2b9\uc815 \uad6c\uac04\uc758 \uac12\ub4e4\uc774\ub098, \uc815\ub82c\ub4f1\uc744 \ud1b5\ud574 \uacb0\uacfc\uac12\uc744 \uad6c\ud560 \uc218 \uc788\ub2e4.<\/span><\/div><div><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ub530\ub77c\uc11c \uac80\uc0c9\ud560 \ub300\uc0c1\uc774 \uc5b4\ub290 \ud544\ub4dc\uc778\uc9c0, \uac80\uc0c9\ud558\uc9c0\uc54a\uace0 \uacb0\uacfc\uac12\uc5d0\ub9cc \ub098\uc640\ub3c4 \ub418\ub294 \ud544\ub4dc\uc778\uc9c0, \uac80\uc0c9\uc2dc \uc5b4\ub5a4 \uc720\ud615\uc758 \uac80\uc0c9\uc744 \ud5c8\uc6a9 \ud560\uc9c0\uc5d0 \ub530\ub77c, \ud0c0\uc785\uc744 \uc798 \uace8\ub77c\uc57c \ud560 \uac83\uc774\ub2e4.<\/span><\/div><div><span style=\"font-size: 9pt; line-height: 1.5;\"><br \/><\/span><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc608\ub97c \ub4e4\uba74 \ub0a0\uc9dc \ub370\uc774\ud130\uc758 \uacbd\uc6b0 \uac80\uc0c9\ud560 \ud544\ub4dc\uac00 \uc544\ub2c8\uace0, \uacb0\uacfc\uac12\uc5d0\ub9cc \ucd9c\ub825\uc774 \ub418\ub294 \uac12\uc774\ub77c\uba74, \uad73\uc774 Attribute \ud0c0\uc785\uc774 \uc544\ub2cc Field \ud0c0\uc785\uc73c\ub85c \ud574\ub3c4 \ub420 \uac83\uc774\ub2e4.<\/span><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ud558\uc9c0\ub9cc, \uc815\ub82c,&nbsp;\uad6c\uac04 \ub4f1\uc758 \uac80\uc0c9\uc774 \ud544\uc694\ud558\ub2e4\uba74, sql_attr_timestamp\ub85c \uc120\uc5b8\ud574\uc57c \ub420 \uac83\uc774\ub2e4.<\/span><\/div><\/div><div><br \/><\/div><div><br \/><\/div><div><br \/><\/div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc774\uc0c1\uc73c\ub85c \uac04\ub2e8\ud55c SphinxQL\uc758 \uc0ac\uc6a9\ubc95\uc744 \uc0ac\uc6a9\ud574 \ubd24\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ub354 \ub2e4\uc591\ud55c \uc635\uc158\uacfc \ubc29\ubc95\uc740 Sphinx \ud648\ud398\uc774\uc9c0\uc758 \ubb38\uc11c\ub97c \ud1b5\ud574 \ucc38\uc870\ud558\uba74 \ub418\uaca0\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">xQL Reference :&nbsp;<\/span><a href=\"http:\/\/sphinxsearch.com\/docs\/manual-2.0.8.html#sphinxql-reference\" target=\"_blank\" style=\"font-size: 9pt; line-height: 1.5;\" rel=\"noopener\"><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">http:\/\/sphinxsearch.com\/docs\/manual-2.0.8.html#sphinxql-reference<\/span><\/a><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">Full-Text Query :&nbsp;<\/span><a href=\"http:\/\/sphinxsearch.com\/docs\/manual-2.0.8.html#extended-syntax\" target=\"_blank\" style=\"font-size: 9pt; line-height: 1.5;\" rel=\"noopener\"><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">http:\/\/sphinxsearch.com\/docs\/manual-2.0.8.html#extended-syntax<\/span><\/a><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-size: 9pt; line-height: 1.5;\"><br \/><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ucc38\uace0\ub85c \uc5ec\uae30\uc11c \ub2e4\ub8ec xQL\uc740&nbsp;SphinxAPI\ub97c \uc0ac\uc6a9\ud558\ub294 \uac83\ubcf4\ub2e4 \ube60\ub974\ub2e4\uace0 \ud55c\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ub2e4\uc74c 4\ubd80\uc5d0\uc11c\ub294 \uc778\ub371\uc2f1\uc744 \ud558\ub294 \ubc29\ubc95\uc744 \ub2e4\ub8e8\uaca0\ub2e4.<\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><\/div><div><p style=\"text-align: center; clear: none; float: none;\"><span class=\"imageblock\" style=\"display:inline-block;width:450px;;height:auto\"><span dir=\"http:\/\/cfile25.uf.tistory.com\/original\/225B774E51C67CF12F354E\" rel=\"lightbox\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/cfile25.uf.tistory.com\/image\/225B774E51C67CF12F354E\" height=\"320\" width=\"450\"><\/span><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p style=\"text-align: center; clear: none; float: none;\"><span class=\"imageblock\" style=\"display:inline-block;width:450px;;height:auto\"><span dir=\"http:\/\/cfile10.uf.tistory.com\/original\/013D8E4E51C67CF105F175\" rel=\"lightbox\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/cfile10.uf.tistory.com\/image\/013D8E4E51C67CF105F175\" height=\"320\" width=\"450\"><\/span><\/span><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><br \/><\/p><br \/><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ucd9c\ucc98 :&nbsp;<\/span><a href=\"http:\/\/sphinxsearch.com\/blog\/2010\/04\/25\/sphinxapi-vs-sphinxql-benchmark\/\"><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">http:\/\/sphinxsearch.com\/blog\/2010\/04\/25\/sphinxapi-vs-sphinxql-benchmark\/<\/span><\/a><\/div><div><br \/><\/div><div><br \/><\/div><div><br \/><\/div><div><br \/><\/div><div><a href=\"http:\/\/sacstory.tistory.com\/entry\/Debian-%EA%B2%80%EC%83%89-%EC%97%94%EC%A7%84-Sphinx-%EC%84%A4%EC%B9%98%ED%95%98%EA%B8%B0\" target=\"_blank\" style=\"font-size: 9pt; line-height: 1.5;\" rel=\"noopener\"><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">2013\/05\/20 - [Database\/Sphinx \uac80\uc0c9\uc5d4\uc9c4] - [Sphinx] \uac80\uc0c9 \uc5d4\uc9c4 Sphinx 1\ubd80 - Sphinx \uc124\uce58<\/span><\/a><\/div><div><p><a href=\"http:\/\/sacstory.tistory.com\/entry\/Debain-%EA%B2%80%EC%83%89-%EC%97%94%EC%A7%84-Sphinx-%ED%95%9C%EA%B8%80-%EC%84%A4%EC%A0%95\" target=\"_blank\" rel=\"noopener\"><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">2013\/05\/31 - [Database\/Sphinx \uac80\uc0c9\uc5d4\uc9c4] - [Sphinx] \uac80\uc0c9 \uc5d4\uc9c4 Sphinx 2\ubd80 - Sphinx\uc640 MySQL \uc5f0\ub3d9 \ubc0f \ud14c\uc2a4\ud2b8<\/span><\/a><\/p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\n<\/span><p><a href=\"http:\/\/sacstory.tistory.com\/entry\/Debian-%EA%B2%80%EC%83%89-%EC%97%94%EC%A7%84-Sphinx-4%EB%B6%80-Sphinx%EC%99%80-PHP-%EC%97%B0%EA%B2%B0\" target=\"_blank\" rel=\"noopener\"><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">2013\/06\/23 - [Database\/Sphinx \uac80\uc0c9\uc5d4\uc9c4] - [Sphinx] \uac80\uc0c9 \uc5d4\uc9c4 Sphinx 4\ubd80 - \uc778\ub371\uc2f1 \uc124\uc815\uacfc \ub370\ubaac \uc124\uc815<\/span><\/a><\/p><p><a href=\"http:\/\/sacstory.tistory.com\/entry\/Sphinx-%EA%B2%80%EC%83%89-%EC%97%94%EC%A7%84-Sphinx-5%EB%B6%80-%EA%B8%B0%ED%83%80-%EC%84%A4%EC%A0%95-%EA%B0%92%EB%93%A4\" target=\"_blank\" rel=\"noopener\"><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">2013\/07\/01 - [Linux Debian 7\/Sphinx \uac80\uc0c9 \uc5d4\uc9c4] - [Debian] \uac80\uc0c9 \uc5d4\uc9c4 Sphinx 5\ubd80 - PHP\uc640\uc758 \uc5f0\uacb0<\/span><\/a><\/p><p><a href=\"http:\/\/sacstory.tistory.com\/entry\/Debian-%EA%B2%80%EC%83%89-%EC%97%94%EC%A7%84-Sphinx-4%EB%B6%80-Sphinx%EC%99%80-PHP-%EC%97%B0%EA%B2%B0\" target=\"_blank\" rel=\"noopener\"><br \/><\/a><\/p><br \/><\/div><div><br \/><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">-------------------------------------------------------<\/span><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc548\ub155\ud558\uc138\uc694 \ub2d8\uc744 \uc704\ud55c \uacf5\uac04<\/span><\/div><div><br \/><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">-------------------------------------------------------<\/span><\/div><div><br \/><\/div><div><br \/><\/div><div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ud574\ub2f9 DB\uac00 \uc5c6\uae30\ub54c\ubb38\uc5d0 \uc9c1\uc811 \ud14c\uc2a4\ud2b8\ub294 \ud558\uc9c0 \ubabb\ud558\uc600\uc73c\uba70, \uc815\ud655\ud55c \uc0c1\ud669\uc744 \uc54c \uc218 \uc5c6\uae30 \ub54c\ubb38\uc5d0 \ucd94\uce21\uc758 \uae00\uc744 \uc62c\ub9bd\ub2c8\ub2e4.<\/span><\/div><div><br \/><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ud604\uc7ac \ube14\ub85c\uadf8\uc5d0 \uc788\ub294 conf\ud30c\uc77c\uacfc sql\ubb38\uc744 \uc774\uc6a9\ud588\uc744\ub54c \uac80\uc0c9\uc774 \uc798 \ub418\ub294 \uac83\uc73c\ub85c \ubcf4\uc544, \uc774 \ud30c\uc77c\ub4e4\uc744 \ud1b5\ud574 \uc11c\ubc84\uc5d0 \uc801\uc6a9\ub41c \uac12\uacfc \ube44\uad50\ud574\ubcf4\uc154\uc57c \ub420\uac83 \uac19\uc2b5\ub2c8\ub2e4.<\/span><\/div><div><br \/><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc608\n\ub97c \ub4e4\uba74 \ube14\ub85c\uadf8\uc5d0 \uc62c\ub824\uc9c4 test.sql\uc5d0\uc11c shop \ud14c\uc774\ube14\uc758 \ub0b4\uc6a9\uc744 \"\uc544\uc774\ud3f05 \ucc28\ub7c9\uc6a9 \ucf00\uc774\ube14\", \"\uc544\uc774\ud3f05 \ucf00\uc774\ube14\"\ub85c \uace0\uce58\uace0 \n\ube14\ub85c\uadf8\uc758 conf\ud30c\uc77c\uc744 \uc774\uc6a9\ud574\uc11c \ud14c\uc2a4\ud2b8\ud55c \uacb0\uacfc \uc81c\ub300\ub85c \uac80\uc0c9\ub418\uc5b4 \ub098\uc624\ub294 \uac83\uc744 \ud655\uc778\ud588\uc2b5\ub2c8\ub2e4. (\uc544\ub798 \uc774\ubbf8\uc9c0 \ucc38\uc870)<\/span><\/div><div><br \/><\/div><div><p style=\"text-align: center; clear: none; float: none;\"><span class=\"imageblock\" style=\"display:inline-block;width:930px;;height:auto\"><span dir=\"http:\/\/cfile7.uf.tistory.com\/original\/2640FF4152A5D0D103048D\" rel=\"lightbox\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/cfile7.uf.tistory.com\/image\/2640FF4152A5D0D103048D\" style=\"cursor: pointer;\" height=\"670\" width=\"930\"><\/span><\/span><\/p><p><br \/><\/p><br \/><\/div><div><br \/><\/div><div><p style=\"text-align: center; clear: none; float: none;\"><span class=\"imageblock\" style=\"display:inline-block;width:930px;;height:auto\"><span dir=\"http:\/\/cfile27.uf.tistory.com\/original\/234B283752A5CCAD2A72EC\" rel=\"lightbox\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/cfile27.uf.tistory.com\/image\/234B283752A5CCAD2A72EC\" style=\"cursor: pointer;\" height=\"1046\" width=\"930\"><\/span><\/span><\/p><p><br \/><\/p><br \/><\/div><div><span style=\"background-color: transparent; font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ucc38\uace0\ub85c \uc544\ub798\uc758 \uae00\uc744 \ub0a8\uae30\uc168\ub294\ub370\uc694...<\/span><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">---------------------------------------------<\/span><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc2a4\ud551\ud06c\uc2a4 \uac80\uc0c9\uc5d4\uc9c4 db\uc5d0 \ubd99\uc5b4\uc11c \ucffc\ub9ac\ub97c \ub0a0\ub824\ubcf4\uba74&nbsp;<\/span><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc544\uc774\ud3f05 \ucc28\ub7c9\uc6a9 \ucf00\uc774\ube14,\uc544\uc774\ud3f05 \ucf00\uc774\ube14 \uc774\ub7f0 \ubb38\uc790\uc5f4\uc744 \uac00\uc9c0\ub294 \ub808\ucf54\ub4dc\ub294 \ud2c0\ub9bc\uc5c6\uc774 \uc874\uc7ac\ud558\ub294\ub370 \ub9d0\uc774\uc8e0.&nbsp;<\/span><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">---------------------------------------------<\/span><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc774\ub807\uac8c \uc4f0\uc2e0 \ub73b\uc740 \ub2e8\uc21c\ud788 select * from xxx\uc73c\ub85c \ub370\uc774\ud130\uac00 \uc788\ub294\uc9c0 \ud655\uc778 \ud558\uc2e0 \uac70\ub77c\uba74 \uc55e\uc11c \ub9d0\uc500\ub4dc\ub9b0 \uac83\ucc98\ub7fc xQL\uc744 \uc0ac\uc6a9\ud574\uc11c \uc704 \uc774\ubbf8\uc9c0 \ucc98\ub7fc \uc815\ud655\ud55c \ucffc\ub9ac\ubb38\uc744 \ud1b5\ud574&nbsp;\uacb0\uacfc\uac12\uc774 \uc798 \ub098\uc624\ub294\uc9c0 \uba3c\uc800 \ud655\uc778\ud574\uc57c \ud569\ub2c8\ub2e4.<\/span><\/div><\/div><div><div><br \/><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ub9cc\uc57d \uc11c\ubc84\uc5d0 \uc801\uc6a9\ub418\uc788\ub294 \uac12\uc774 \uc704\uc640 \uac19\uc740 \ucffc\ub9ac\ubb38\uc73c\ub85c \uac80\uc0c9\uc774 \uc548\ub418\ub2e4\uba74 \ubd84\uba85, Sphinx \uc124\uc815\uc774 \uc798 \ubabb \ub41c \uac83\uc785\ub2c8\ub2e4.<\/span><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc77c\ub2e8 \ube14\ub85c\uadf8\uc5d0 \uc788\ub294 \uae30\ubcf8\uc801\uc778 conf\uac12\uacfc sql\ub85c \ud14c\uc2a4\ud2b8\ub97c \ud574\ubcf4\uc2dc\uace0, \uc11c\ubc84\uc5d0 \uc801\uc6a9\ub41c \uac12\uc73c\ub85c conf\uac12\uc744 \ud558\ub098\uc529 \ubcc0\uacbd, \ub2e4\uc2dc&nbsp;\uc778\ub371\uc2f1 \ud558\uc2dc\uba74\uc11c \uc6d0\uc778\uc744 \ucc3e\uc73c\uc2dc\ub294\uac8c \ube60\ub97c&nbsp;\ub4ef \ud569\ub2c8\ub2e4.<\/span><\/div><\/div><div><span style=\"background-color: transparent; font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ud558\uc9c0\ub9cc \ucffc\ub9ac\ubb38\uc774 \uacb0\uacfc\uac12\uc744 \uc798 \uac00\uc838\uc628\ub2e4\uba74, API\uc5d0\uc11c \ubb38\uc81c\uac00 \uc0dd\uae34\ub2e4\ub294 \uac83\uc778\ub370 API\uc5d0 \ubcf4\ub0b4\ub294 \ucffc\ub9ac\ubb38\uc744 \ub85c\uace0\ub85c \ucc0d\uc5b4\uc11c \ub2e4\uc2dc \ud55c\ubc88 \ud655\uc778\ud558\uc2dc\ub294\uac8c \uc88b\uaca0\uc2b5\ub2c8\ub2e4.<\/span><\/div><div><br \/><\/div><div><br \/><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">PS. xQL\uc774 \uc544\ub2cc API \ubc29\uc2dd\uc744 \ub3c4\uc785\ud558\uc2e0\uac83 \uac19\uc740\ub370, API \ubd80\ubd84\uc740 \uacbd\ud5d8\uc774 \uc5c6\uc5b4 \ub3c4\uc6c0\uc744 \ubabb\ub4dc\ub9ac\uaca0\ub124\uc694.&nbsp;<\/span><span style=\"background-color: transparent; font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">xQL\ub85c \uc624\uc2dc\ub294 \uac83\uc774 \uc5b4\ub5a0\uc2e0\uc9c0 ^^;;<\/span><span style=\"background-color: transparent; font-size: 9pt; line-height: 1.5;\"><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\"> <\/span><br \/><br \/><\/span><br \/><b><span style=\"font-size: 12pt; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc18c\uac1c<\/span><\/b><hr style=\"display:block; border: black 0 none; border-top: black 1px solid; height: 1px\"><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">3\ubd80\uc5d0\uc11c\ub294 \uac80\uc0c9\uc744 \ud1b5\ud574 \uacb0\uacfc\uac12\uc744 \uac00\uc838\uc654\ub2e4.<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc774\uc81c 4\ubd80\uc5d0\uc11c\ub294 \ub370\uc774\ud130\ub97c \uc778\ub371\uc2f1\ud558\ub294 \ubc29\ubc95\uacfc, \ub370\ubaac \ub4f1\ub85d\uc744 \ud1b5\ud55c \uc8fc\uae30\uc801\uc778 \uc778\ub371\uc2f1 \uc124\uc815\uc744 \ud1b5\ud574, Sphinx\uc758 \uc778\ub371\uc2a4&nbsp;\ub370\uc774\ud130\ub97c \uc720\uc9c0 \ud558\ub294 \ubc29\ubc95\uc744 \ub2e4\ub8e8\uaca0\ub2e4.<\/span><\/p><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uba85\ub839\uc5b4\ub97c PATH\uc5d0 \ub4f1\ub85d\ud558\uc9c0 \uc54a\uc558\ub2e4\uba74 \uc544\ub798 \ub9c1\ud06c\ub97c \ud1b5\ud574\uc11c&nbsp;\ub4f1\ub85d\uc744 \ud574\uc8fc\uac70\ub098,&nbsp;<\/span><\/p><p><span style=\"color: rgb(163, 102, 255);\"><a href=\"http:\/\/sacstory.tistory.com\/entry\/Debain-PATH-%EC%84%A4%EC%A0%95\" target=\"_blank\" rel=\"noopener\"><span style=\"color: rgb(163, 102, 255); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">2013\/06\/22 - [Linux Debian 7] - [Debain] \uc5b4\ub290 \uc704\uce58\uc5d0\uc11c\ub4e0 \ud504\ub85c\uadf8\ub7a8 \uc2e4\ud589\uc2dc\ud0a4\ub3c4\ub85d PATH \uc124\uc815\ud558\uae30<\/span><\/a><\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc544\ub798\ucc98\ub7fc \uba85\ub839\uc5b4\uac00 \uc788\ub294 \ub514\ub809\ud1a0\ub9ac\uc5d0\uac00\uc11c \uba85\ub839\uc5b4\ub97c \uc2e4\ud589\ud558\uba74 \ub41c\ub2e4.<\/span><\/p><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width: 894px; height: 37px; border: 1px solid rgb(204, 204, 204);\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">cd \/usr\/local\/sphinx\/bin<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">.\/indexer --all --rotate --merge --quient --silent --config<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><p><br \/><\/p><p><br \/><\/p><p><br \/><\/p><p><b><span style=\"font-size: 12pt; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc804\uccb4 \uc778\ub371\uc2f1<\/span><\/b><\/p><hr style=\"display:block; border: black 0 none; border-top: black 1px solid; height: 1px\"><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc804\uccb4 \uc778\ub371\uc2f1\uc740 \ub9d0 \uadf8\ub300\ub85c, \ud658\uacbd\uc124\uc815\uc5d0 \uc788\ub294 \ubaa8\ub4e0 \uc778\ub371\uc2a4\ub97c&nbsp;\uc778\ub371\uc2f1 \ud558\ub294 \uac83\uc774\ub2e4.<\/span><\/p><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">indexer --all<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ub9cc\uc57d, SphinxQL\uc744 \uc0ac\uc6a9\ud558\uae30 \uc704\ud574, \ud639\uc740 \uc11c\ube44\uc2a4 \uc81c\uacf5\uc744 \uc704\ud574 searchd \ud504\ub85c\uc138\uc2a4\ub97c \uc2e4\ud589\uc2dc\ucf30\ub2e4\uba74, \ud56d\uc0c1 --rotate\ub97c \ucd94\uac00\ub85c \ubd99\uc5ec\uc8fc\uba74 \ub41c\ub2e4. \uadf8\ub807\uc9c0 \uc54a\ub2e4\uba74 \uc5d0\ub7ec\uac00 \ubc1c\uc0dd\ud560 \uac83\uc774\ub2e4.<\/span><\/p><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">indexer --all --rotate&nbsp;<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc804\uccb4 \uc778\ub371\uc2f1\uc740 \ubaa8\ub4e0 \uc778\ub371\uc2a4\uc758&nbsp;\ub370\uc774\ud130\ub97c \uc778\ub371\uc2f1\ud558\uae30\ub54c\ubb38\uc5d0 \uc778\ub371\uc2a4\uc758 \ud06c\uae30\uc640 \ub370\uc774\ud130\uc758 \ud06c\uae30\uc5d0 \uc758\ud574&nbsp;\uc2dc\uac04\uc774 \uacb0\uc815\ub420 \uac83\uc774\ub2e4.<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">(main + delta \ubc29\uc2dd\uc778 \uacbd\uc6b0 \uc804\uccb4 \uc778\ub371\uc2f1 \ud558\uace0\ub098\uc11c merge \uba85\ub839\uc5b4\ub97c \ud574\uc918\uc57c delta\uc5d0\uc11c \uc778\ub371\uc2f1\ub41c \ub370\uc774\ud130\ub97c Sphinx\uc5d0 \ubc18\uc601\ud558\uac8c \ub41c\ub2e4.)<\/span><\/p><p><br \/><\/p><p><br \/><\/p><p><br \/><\/p><p><b><span style=\"font-size: 12pt; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ubd80\ubd84 \uc778\ub371\uc2f1<\/span><\/b><\/p><hr style=\"display:block; border: black 0 none; border-top: black 1px solid; height: 1px\"><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ud658\uacbd\uc124\uc815\uc5d0 \uc124\uc815\ub41c \uc778\ub371\uc2a4&nbsp;\ub9ac\uc2a4\ud2b8\uac00 \ub9ce\ub2e4\uba74, \uc804\uccb4 \uc778\uc5d1\uc2a4\ubcf4\ub2e4\ub294 \ud2b9\uc815 \uc778\ub371\uc2a4\ub9cc\uc744 \uc778\ub371\uc2f1 \ud568\uc73c\ub85c\uc11c \uc2dc\uac04\uc744 \uc904\uc77c \uc218 \uc788\ub2e4.<\/span><\/p><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">indexer \uc778\ub371\uc2a4\uba85&nbsp;<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><p><br \/><\/p><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc608\ub97c \ub4e4\uba74, \uc608\uc81c\uc5d0\uc11c \uc81c\uacf5\ub41c sphinx.conf\uc5d0\ub294 zipcode, book, delta, shop\uc774\ub77c\ub294 4\uac00\uc9c0\uc758 \uc778\ub371\uc2a4\uac00 \uc788\ub2e4.<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc774 \uc774\ub984\uc744 \ud1b5\ud574 \uc778\ub371\uc2f1\uc744 \ud558\uba74 \ub418\ub294 \uac83\uc774\ub2e4.<\/span><\/p><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">indexer delta<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><p><br \/><\/p><p><br \/><\/p><p><b><span style=\"font-size: 12pt;\"><br \/><span id=\"callbacknestsacstorytistorycom2442189\" style=\"width:1px; height:1px; float:right\"><\/span><\/span><\/b><\/p><p><b><span style=\"font-size: 12pt; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc778\ub371\uc2a4 \uc5c5\ub370\uc774\ud2b8 (Delta Index Updates)<\/span><\/b><\/p><hr style=\"display:block; border: black 0 none; border-top: black 1px solid; height: 1px\"><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc778\ub371\uc2a4&nbsp;\uc5c5\ub370\uc774\ud2b8\ub294 3\uac00\uc9c0\uac00 \uc788\ub2e4.<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc704\uc5d0 \ub098\uc628 \uac83\ucc98\ub7fc \ub370\uc774\ud130\uac00 \uc801\uc740\uacbd\uc6b0&nbsp;\uc804\uccb4 \ub610\ub294 \ubd80\ubd84 \uc778\ub371\uc2f1\uc744 \ud1b5\ud574 \uc778\ub371\uc2a4&nbsp;\uc804\uccb4\ub97c \ucc98\uc74c\ubd80\ud130 \ub2e4\uc2dc &nbsp;\uc0dd\uc131\ud558\ub294&nbsp;\ubc29\ubc95\uacfc \ub77c\uc774\ube0c \uc778\ub371\uc2f1, \uadf8\ub9ac\uace0 Delta \ubc29\uc2dd \uc778\ub371\uc2f1\uc774 \uc788\ub2e4.<\/span><\/p><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc5ec\uae30\uc11c\ub294 Delta \uc5c5\ub370\uc774\ud2b8 \ubc29\ubc95\uc744 \uc18c\uac1c\ud55c\ub2e4.<\/span><\/p><p><span style=\"font-size: 9pt; line-height: 1.5;\"><br \/><\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">Delta \uc5c5\ub370\uc774\ud2b8\ub294 &nbsp;Main + Delta \ubc29\uc2dd\uc73c\ub85c, \uba3c\uc800 \uc8fc\ub41c \uc778\ub371\uc2a4\ub97c Main\uc774 \uac16\uac8c\ud558\uace0, MySQL\uc5d0 \ucd94\uac00\ub41c \ub370\uc774\ud130\ub97c Delta\uc5d0\uc11c \uc778\ub371\uc2f1 \ud558\ub3c4\ub85d \ud55c\ub2e4.<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uadf8\ub9ac\uace0\ub098\uc11c Delta\uc758 \ub370\uc774\ud130\ub97c Main\uc5d0 \uac74\ub124\uc8fc\uc5b4 \ub370\uc774\ud130\ub97c \ud569\uce5c\ub2e4.<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ub530\ub77c\uc11c \ucd94\uac00\ub41c \ub370\uc774\ud130\ub9cc \uc778\ub371\uc2f1\ud558\uba74 \ub418\ubbc0\ub85c \uc778\ub371\uc2a4 \uc804\uccb4\ub97c \uc778\ub371\uc2f1 \ud560 \ud544\uc694\uac00 \uc5c6\ub2e4.<\/span><\/p><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc608\uc81c\ub85c \ucca8\ubd80\ud55c sphinx.conf\uc5d0 \uc788\ub294 \uc778\ub371\uc2a4\ub4e4 \uc911\uc5d0 shop \uc778\ub371\uc2a4\uac00 Delta \uc5c5\ub370\uc774\ud2b8 \ubc29\uc2dd\uc744 \uc0ac\uc6a9\ud55c\ub2e4.<\/span><\/p><table class=\"txc-table\" style=\"border: none; border-collapse: collapse; font-size: 12px;\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width: 894px; height: 901px; border: 1px solid rgb(204, 204, 204);\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;source shop<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;{<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;type &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= mysql<\/span><\/p><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sql_host &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= localhost<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sql_user &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= debian<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sql_pass &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= anne$1929<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sql_db &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= test<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sql_port &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 3306 &nbsp;# optional, default is 3306<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sql_sock &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= \/tmp\/mysql.sock<\/span><\/p><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sql_query_pre = SET NAMES utf8<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sql_query = SELECT sn, price, price AS s_price, pack_count, item_name, npc_name FROM shop <\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">WHERE sphinx_yn='Y'<\/span><\/p><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sql_attr_bigint &nbsp; &nbsp; &nbsp; &nbsp; = price<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sql_field_string &nbsp; &nbsp; &nbsp; &nbsp;= s_price<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sql_field_string &nbsp; &nbsp; &nbsp; &nbsp;= pack_count<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sql_field_string &nbsp; &nbsp; &nbsp; &nbsp;= item_name<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sql_field_string &nbsp; &nbsp; &nbsp; &nbsp;= npc_name<\/span><\/p><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;# &nbsp; &nbsp; &nbsp; sql_query_info &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= SELECT * FROM shop WHERE sn=$id<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;}<\/span><\/p><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;source delta : shop<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;{<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sql_query_pre = SET NAMES utf8<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sql_query = SELECT sn, price, price AS s_price, pack_count, item_name, npc_name FROM shop <\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">WHERE sphinx_yn='N'<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp;<\/span><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\"> &nbsp;sql_query_post = UPDATE shop SET sphinx_yn='Y' WHERE sphinx_yn='N'<\/span><\/p><p><span style=\"color: rgb(255, 0, 0); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sql_query_killlist = SELECT sn FROM shop WHERE sphinx_yn='D'<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;}<\/span><\/p><p><br \/><\/p><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;index shop<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;{<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;source &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= shop<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;path &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= \/usr\/local\/sphinx\/var\/data\/shop<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;docinfo &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = extern<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;charset_type &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= utf-8<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;charset_table = 0..9, A..Z-&gt;a..z, _, a..z, U+410..U+42F-&gt;U+430..U+44F, U+430..U+44F<\/span><\/p><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ...<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ...<\/span><\/p><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;}<\/span><\/p><div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;index delta : shop<\/span><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;{<\/span><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;source &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= delta<\/span><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;path &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= \/usr\/local\/sphinx\/var\/data\/dalta<\/span><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;docinfo &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = extern<\/span><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;charset_type &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= utf-8<\/span><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;charset_table = 0..9, A..Z-&gt;a..z, _, a..z, U+410..U+42F-&gt;U+430..U+44F, U+430..U+44F<\/span><\/div><div><br \/><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ...<\/span><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ...<\/span><\/div><div><br \/><\/div><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;}<\/span><\/div><\/div><div><br \/><\/div><\/td>\n<\/tr>\n<\/tbody><\/table><p><br \/><\/p><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc124\uc815\uc744 \ubcf4\uba74 main + delta\uc5d0\uc11c main\uc5d0&nbsp;\ud574\ub2f9\ud558\ub294 \uac83\uc774 shop\ub2e4. \uadf8\ub9ac delta\uc5d0 \ud574\ub2f9\ud558\ub294 \uac83\uc774 delta\uc774\ub2e4.<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc790\uc2ec \uc544\ub798\uc758 \ucffc\ub9ac \uc77c\ubd80\ubd84\uc744 \ubcf4\uba74 \uc544\ub798\ucc98\ub7fc \ub418\uc5b4 \uc788\ub2e4.<\/span><\/p><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">main\uc758 sql_query : ... WHERE sphinx_yn='Y'<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">delta\uc758 sql_query : ... WHERE&nbsp;sphinx_yn='N'<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">delta\uc758 sql_query_post :&nbsp;UPDATE shop SET sphinx_yn='Y' WHERE sphinx_yn='N'<\/span><\/p><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc989, MySQL\uc5d0\uc11c main\uc774 \uc778\ub371\uc2f1\ud558\ub294 \ubd80\ubd84\uc740 Y\uac12\uc774\uace0 delta\uc5d0\uc11c \uc778\ub371\uc2f1 \ud558\ub294 \ubd80\ubd84\uc740 N\uac12 \ubd80\ubd84\uc774\ub2e4.<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uadf8\ub9ac\uace0 delta\uac00 \uc778\ub371\uc2a4\ub97c &nbsp;\ub9c8\uce58\uba74 sql_query_post\ub97c \ud1b5\ud574 N\uac12\uc744 Y\uac12\uc73c\ub85c&nbsp;\ubc14\uafd4\uc90c\uc73c\ub85c\uc11c \ub2e4\uc2dc\ub294&nbsp;delta \uc778\ub371\uc2f1\ud560\ub54c \uc778\ub371\uc2a4&nbsp;\ubc94\uc704\uc5d0 \uc7a1\ud788\uc9c0 \uc54a\ub3c4\ub85d \ud574\uc900\ub2e4.<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc774\ub85c\uc11c \ucd94\uac00\ub41c \ub370\uc774\ud130\ub97c \uc778\ub371\uc2a4\ud558\ub294 \uac83\uc774\ub2e4.<\/span><\/p><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ub2e4\uc74c\uc740 \uc774 \uacfc\uc815\uc744 \uba85\ub839\uc5b4\ub85c \ub098\ud0c0\ub0b8 \uac83\uc774\ub2e4. (\uc11c\ube44\uc2a4\uc911\uc774\uba74 --rotate \ucd94\uac00\ud560 \uac83)<\/span><\/p><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">1. delta \uc778\ub371\uc2f1<\/span><\/p><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">indexer delta&nbsp;<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">2. main + delta \uc778\ub371\uc2a4 \ub370\uc774\ud130 \ud569\uce58\uae30<\/span><\/p><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">indexer --merge shop delta&nbsp;<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><p><br \/><\/p><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ub9cc\uc57d MySQL\uc5d0\uc11c \uc77c\ubd80&nbsp;\ub370\uc774\ud130\uac00 \ubcc0\uacbd\ub41c \uac83\uc744 Sphinx\uc5d0 \ubc18\uc601\ud558\ub824\uba74 \ubcc0\uacbd\ub41c \ub370\uc774\ud130\uc758 sphinx_yn\uac12\uc744 delta\uc5d0\uc11c \uc778\ub371\uc2f1 \ud560 \uc218 \uc788\ub3c4\ub85d Y\uac12\uc744 N\uac12\uc73c\ub85c \ubcc0\uacbd\ub9cc \ud574\uc8fc\uba74 \ub370\uc774\ud130\ub97c \uc5c5\ub370\uc774\ud2b8 \ud560 \uc218 \uc788\ub2e4.<\/span><\/p><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ub9cc\uc57d, MySQL\uc758 \ub370\uc774\ud130\uc911 \uc77c\ubd80\uac00 \uc0ad\uc81c&nbsp;\ub410\ub2e4\uba74, \uc804\uccb4, \ud639\uc778 \ubd80\ubd84 \uc778\ub371\uc2f1\uc744 \ud574\uc57c\ud55c\ub2e4. \ud558\uc9c0\ub9cc \uc0ad\uc81c\ud558\uae30\uc804\uc5d0 Sphinx\uc5d0\uc11c \ub370\uc774\ud130\ub97c \uba3c\uc800 \ube7c\ub3c4\ub85d \ud560 \uc218 \uc788\ub2e4.<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ubc14\ub85c delta\uc758 sql_query_killlist\uac00 \uadf8 \uc5ed\ud560\uc744 \ud55c\ub2e4.<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">delta\uc758 sql_query_killlist :&nbsp;SELECT sn FROM shop WHERE sphinx_yn='D'<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">sphinx_yn\uc758 \uac12\uc744 D\ub85c \ud574\ub450\uba74, killlist\uc758 \uc778\ub371\uc2a4 \ubc94\uc704\ub0b4\ub85c \ub4e4\uc5b4\uc628\ub2e4. \uc774\ub54c, \uc778\ub371\uc2a4\uc758 \uae30\uc900\uc774 \ub418\ub294&nbsp;id\uac12\uc744 \ub118\uaca8\uc8fc\uae30\ub9cc \ud558\uba74 \ub41c\ub2e4. (\uc5ec\uae30 \uc608\uc81c\uc5d0\uc11c\ub294 id\uac00 sn\uac12\uc774\ub2e4.)<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc774\uc81c delta\ub97c \uc778\ub371\uc2f1\ud558\uace0 merge\uc9c0\ub97c \ud558\uba74 \ub370\uc774\ud130\uac00 \uc0ac\ub77c\uc838\uc788\ub2e4.<\/span><\/p><p><br \/><\/p><p><br \/><\/p><p><br \/><\/p><p><font size=\"3\"><span style=\"line-height: 24px;\"><b><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc2dc\uc791 \ub4f1\ub85d<\/span><\/b><\/span><\/font><\/p><div><hr style=\"display:block; border: black 0 none; border-top: black 1px solid; height: 1px\"><\/div><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ub9ac\ub205\uc2a4\uac00 \uc7ac\uc2dc\uc791 \ud588\uc744 \uacbd\uc6b0 Sphinx\uac00 \uc790\ub3d9\uc73c\ub85c \uc11c\ube44\uc2a4\ub97c&nbsp;\uc2dc\uc791\ud558\uac8c \ub9cc\ub4e4\uae30&nbsp;\uc704\ud574\uc11c \uac04\ub2e8\ud55c \uc258\uc2a4\ud06c\ub9bd\ud2b8\ub97c \ub4f1\ub85d \ud574\uc57c\ud55c\ub2e4.<\/span><\/p><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uba3c\uc800, \uc2dc\uc791\ud560 \uc2a4\ud06c\ub9bd\ud2b8\ub294 init.d\uc5d0 \uc704\uce58\ud574 \uc788\uc5b4\uc57c \ud558\ubbc0\ub85c \ub514\ub809\ud1a0\ub9ac\ub97c \uc774\ub3d9\ud55c\ub2e4.<\/span><\/p><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">cd \/etc\/init.d<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">vi searchd<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><p><br \/><\/p><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ud30c\uc77c \ub0b4\uc6a9\uc740 \uc544\ub798\ucc98\ub7fc \uc801\ub294\ub2e4. (\ub9cc\uc57d \ud658\uacbd \uc124\uc815\uc774 \uae30\ubcf8\ub514\ub809\ud1a0\ub9ac\uc5d0 \uc5c6\ub2e4\uba74, --config \uc635\uc158\uc73c\ub85c \ud658\uacbd\uc124\uc815 \uc704\uce58\ub97c \uc7a1\uc544\uc8fc\ub3c4\ub85d \ud55c\ub2e4.)<\/span><\/p><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">#!\/bin\/bash<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\/usr\/local\/sphinx\/bin\/searchd<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><p><br \/><\/p><p><br \/><\/p><div><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc2dc\uc2a4\ud15c\uc774 \ud30c\uc77c\uc5d0 \uc811\uadfc \uac00\ub2a5\ud1a0\ub85d \uad8c\ud55c\uc744 \uc124\uc815\ud55c\ub2e4.<\/span><\/div><div><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">chmod 755 searchd<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><p><br \/><\/p><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc774\uc81c \ub370\ube44\uc548\uc744 \uc7ac\uc2dc\uc791\ud574\ub3c4 searchd\uac00 \uc790\ub3d9\uc73c\ub85c \uc2dc\uc791\ub41c\ub2e4.<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ub9cc\uc57d \uc11c\ube44\uc2a4\ub85c\ub3c4 \ub9cc\ub4e4\uace0 \uc2f6\ub2e4\uba74 \ub2e4\uc74c \uae00\uc744 \ucc38\uace0 \ud55c\ub2e4.<\/span><\/p><p><span style=\"color: rgb(163, 102, 255);\"><a href=\"http:\/\/sacstory.tistory.com\/entry\/Debian-%EB%B6%80%ED%8C%85%EC%8B%9C-script-%EB%B0%8F-%EC%84%9C%EB%B9%84%EC%8A%A4-%EC%8B%9C%EC%9E%91%ED%95%98%EB%8F%84%EB%A1%9D-%EB%93%B1%EB%A1%9D%ED%95%98%EA%B8%B0\" target=\"_blank\" rel=\"noopener\"><span style=\"color: rgb(163, 102, 255); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">2013\/05\/04 - [Linux Debian 7] - [Debian] \ubd80\ud305\uc2dc script \ubc0f \uc11c\ube44\uc2a4 \uc2dc\uc791\ud558\ub3c4\ub85d \ub4f1\ub85d\ud558\uae30<\/span><\/a><\/span><\/p><p><br \/><\/p><p><br \/><\/p><p><br \/><\/p><p><b><span style=\"font-size: 12pt; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">Crontab \ub4f1\ub85d<\/span><\/b><\/p><div><hr style=\"display:block; border: black 0 none; border-top: black 1px solid; height: 1px\"><\/div><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc77c\uc815 \uc2dc\uac04\ub9c8\ub2e4 \uc5c5\ub370\uc774\ud2b8\ub97c \ud574\uc57c \ud560 \uacbd\uc6b0 crontab\uc5d0 \ub4f1\ub85d\ud558\uc5ec \uc5c5\ub370\uc774\ud2b8\ub97c \uc2e4\ud589\uc2dc\ud0ac \uc218 \uc788\ub2e4.<\/span><\/p><p><br \/><\/p><p><b><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">1. \uc804\uccb4 \uc5c5\ub370\uc774\ud2b8<\/span><\/b><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uba3c\uc800 \uc804\uccb4 \uc5c5\ub370\uc774\ub97c \ub9cc\ub4e4\uae30 \uc704\ud574 Shellscript\ub97c \ub9cc\ub4e4\ub3c4\ub85d \ud558\uc790.<\/span><\/p><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">cd \/usr\/local\/sphinx\/bin<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">vi sphinx_total_updater.sh<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">sphinx_total_updater.sh \ub0b4\uc6a9\uc5d0\ub294 \uc544\ub798\ucc98\ub7fc \uc804\uccb4 \uc5c5\ub370\uc774\ud2b8&nbsp;\uba85\ub839\uc5b4\ub97c \ub123\ub3c4\ub85d \ud55c\ub2e4.<\/span><\/p><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width: 894px; height: 24px; border: 1px solid rgb(204, 204, 204);\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">#!\/bin\/bash<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\/usr\/local\/sphinx\/bin\/indexer --all --rotate<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">sleep 2<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\/usr\/local\/sphinx\/bin\/indexer --merge shop delta --rotate&nbsp;<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><p><br \/><\/p><p><br \/><\/p><p><br \/><\/p><\/div><p><b><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">2. \ubd80\ubd84 \uc5c5\ub370\uc774\ud2b8<\/span><\/b><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ubd80\ubd84\uc801\uc73c\ub85c \uc5c5\ub370\uc774\ud2b8\ub97c \ud558\uae30 \uc704\ud574 Shellscript\ub97c \ub9cc\ub4e4\ub3c4\ub85d \ud558\uc790.<\/span><\/p><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">cd \/usr\/local\/sphinx\/bin<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">vi sphinx_partial_updater.sh<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">sphinx_partial_updater.sh \ub0b4\uc6a9\uc5d0\ub294 \uc544\ub798\ucc98\ub7fc&nbsp;\ubd80\ubd84 \uc5c5\ub370\uc774\ud2b8 \uba85\ub839\uc5b4\ub97c&nbsp;\ub123\ub3c4\ub85d \ud55c\ub2e4.<\/span><\/p><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">#!\/bin\/bash<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\/usr\/local\/sphinx\/bin\/indexer delta --rotate<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">sleep 2<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\/usr\/local\/sphinx\/bin\/indexer --merge shop delta --rotate&nbsp;<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><p><br \/><\/p><p><br \/><\/p><p><b><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">3. Crontab \ub4f1\ub85d<\/span><\/b><\/p><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">crontab -e&nbsp;<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ub9cc\ub4e0 \uc2a4\ud06c\ub9bd\ud2b8 \uacbd\ub85c\ub97c \ud1b5\ud574 \ud06c\ub860\uc744 \uc2e4\ud589\ud558\ub3c4\ub85d \ud55c\ub2e4. (\uc544\ub798\uc758 \uc608\ub294 \ub9e4 \ubd84\ub9c8\ub2e4 \uc2e4\ud589\ud55c\ub2e4.)<\/span><\/p><table class=\"txc-table\" style=\"border:none;border-collapse:collapse;;font-family:\ub3cb\uc6c0;font-size:12px\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">* * * * * \/usr\/local\/sphinx\/bin\/sphinx_total_updater.sh<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">* * * * * \/usr\/local\/sphinx\/bin\/sphinx_partial_updater.sh&nbsp;<\/span><\/p><\/td>\n<\/tr>\n<\/tbody><\/table><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc77c\uc815\ud55c \uc2dc\uac04 \uc124\uc815 \ub4f1\uc740 \ub2e4\uc74c \ub9c1\ud06c\ub97c \ucc38\uace0\ud558\ub3c4\ub85d \ud55c\ub2e4.<\/span><\/p><p><a href=\"http:\/\/sacstory.tistory.com\/entry\/Linux-crontab\" target=\"_blank\" rel=\"noopener\"><span style=\"color: rgb(163, 102, 255); font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">2013\/01\/09 - [Linux] - [Linux] crontab<\/span><\/a><\/p><p><br \/><\/p><p><br \/><\/p><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc774\uc0c1\uc73c\ub85c Sphinx \uac80\uc0c9 \uc5d4\uc9c4\uc744 \ud1b5\ud574 \ub370\uc774\ud130\ub97c \uc778\ub371\uc2f1\ud558\uace0, \uc5c5\ub370\uc774\ud2b8 \ubc0f \uc0ad\uc81c \uadf8\ub9ac\uace0, \ub9ac\ub205\uc2a4\uac00 \uc54c\uc544\uc11c \uc5c5\ub370\uc774\ud2b8 \ub418\ub3c4\ub85d \ud588\ub2e4.<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ub2e4\uc74c 5\ubd80\uc5d0\uc11c\ub294 \uc6f9\uc11c\ube44\uc2a4\ub97c \uc704\ud574 PHP\uc640\uc758 \uc5f0\uacb0 \ubd80\ubd84\uc744 \ub2e4\ub8e8\uaca0\ub2e4.<\/span><\/p><p><br \/><\/p><p><b><span style=\"font-size: 12pt; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">1. \uc18c\uac1c<\/span><\/b><\/p><hr style=\"display:block; border: black 0 none; border-top: black 1px solid; height: 1px\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">4\ubd80\uae4c\uc9c0 \ud588\ub2e4\uba74, \ud604\uc7ac Sphinx \uac80\uc0c9 \uc5d4\uc9c4\uc774 \uc124\uce58\ub418\uc5b4 \uc788\uace0, \uc608\uc81c test.sql \ub370\uc774\ud130\ub97c \ud1b5\ud574&nbsp;\uac80\uc0c9\ub3c4 \uc798 \ub420 \uac83\uc774\ub2e4.<\/span><\/p><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">PHP\uc5d0\uc11c MySQL \uc811\uc18d\uc744 \ud1b5\ud574<\/span><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;\uc0ac\uc6a9\ud588\ub358 \uac83\ucc98\ub7fc \uc0ac\uc6a9\ud558\uba74 \ub418\ubbc0\ub85c \uc544\uc8fc \uac04\ub2e8\ud558\ub2e4.<\/span><\/p><p><br \/><\/p><p><br \/><\/p><p><br \/><\/p><p><b><span style=\"font-size: 12pt; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">2. \uc811\uc18d<\/span><\/b><\/p><hr style=\"display:block; border: black 0 none; border-top: black 1px solid; height: 1px\"><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc544\ub798\uc640 \uac19\uc740 mysql_connect\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc811\uc18d\ud558\ub294 \uc608\uc81c\uc774\ub2e4.<\/span><\/p><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc544\uc27d\uac8c\ub3c4 \ud604\uc7ac Sphinx\ub294 ID\uc640 Password\ub97c \uc124\uc815 \ud560 \uc218 \uc5c6\ub2e4\uace0 \ud55c\ub2e4.<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ub530\ub77c\uc11c ID\uc640 Password\ub294 \ube44\uc6cc\ub450\uace0 \uc811\uc18d\ud558\uba74 \ub41c\ub2e4.<\/span><\/p><p><br \/><\/p><table class=\"txc-table\" style=\"border: none; border-collapse: collapse; font-size: 12px;\" border=\"0\" width=\"894\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr><td style=\"width:894;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;\"><p><span style=\"font-size: 9pt; line-height: 1.5; font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&lt;meta charset=\"utf-8\"&gt;<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&lt;?php<\/span><\/p><p><br \/><span id=\"callbacknestsacstorytistorycom2466003\" style=\"width:1px; height:1px; float:right\"><\/span><\/p><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;$hostname = \"127.0.0.1:9306\";<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;$username = \"\";<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;$passwd = \"\";<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;$dbname = \"test\";<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;$connect = mysql_connect($hostname, $username, $passwd) or die(\"Failed\");<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;$result = mysql_select_db($dbname, $connect);<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;echo \"\uc811\uc18d \uc5ec\ubd80? : \".$result;<\/span><\/p><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;mysql_query(\"set names utf8\"); &nbsp; &nbsp; \/\/ \uacb0\uacfc\uac12\uc774 \ud55c\uae00\uc778 \uacbd\uc6b0 \uc0ac\uc6a9<\/span><\/p><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;$sql=\"SELECT title FROM book LIMIT 10\";<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;$rs = &nbsp;mysql_query($sql, $connect); &nbsp; \/\/ sql\ubb38 \uc2e4\ud589<\/span><\/p><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;while($info=mysql_fetch_array($rs)){<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;echo $info['title'].\"&lt;br&gt;\";<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;}<\/span><\/p><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">&nbsp;?&gt;<\/span><\/p><div><br \/><\/div><\/td>\n<\/tr>\n<\/tbody><\/table><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc6f9\ube0c\ub77c\uc6b0\uc800\ub97c \ud1b5\ud574 \uc544\ub798\ucc98\ub7fc \uc811\uc18d\ud558\uba74 \uac04\ub2e8\ud558\uac8c \uac80\uc0c9\ub41c \uacb0\uacfc\uac00 \ub098\uc628\ub2e4.<\/span><\/p><p><br \/><\/p><p style=\"text-align: center; clear: none; float: none;\"><span class=\"imageblock\" style=\"display:inline-block;width:424px;;height:auto\"><span dir=\"http:\/\/cfile2.uf.tistory.com\/original\/254C674951D7E66F393FE9\" rel=\"lightbox\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/cfile2.uf.tistory.com\/image\/254C674951D7E66F393FE9\" height=\"282\" width=\"424\"><\/span><\/span><\/p><p><br \/><\/p><p><br \/><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\uc774\uc81c \uac80\uc0c9 \uc5d4\uc9c4 \uc11c\ube44\uc2a4\uac00 \ubaa8\ub450 \uc644\ub8cc\ub418\uc5c8\ub2e4.<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">MySQL\uc774&nbsp;like \ubb38\uc73c\ub85c \ud798\ub4e4\uac8c \ub370\uc774\ud130\ub97c \uac80\uc0c9\ud558\ub294 \uac83\ubcf4\ub2e4 Sphinx\ub97c \uc0ac\uc6a9\ud558\uba74 \ubb34\ucc99 \ube60\ub974\uace0, \uc815\ud655\ud55c \uacb0\uacfc\uac12\uc744 \ub0b4\uc900\ub2e4.<\/span><\/p><p><span style=\"font-family: Gulim,\uad74\ub9bc,AppleGothic,sans-serif;\">\ub530\ub77c\uc11c \ub370\uc774\ud130\uac00 \ub9ce\ub2e4\uba74, \uac80\uc0c9 \uc5d4\uc9c4\uc744 \uc0ac\uc6a9\ud558\ub294 \uac83\uc774 \ud070 \uc774\uc775\uc774 \ub420 \uac83\uc774\ub2e4.<\/span><\/p><\/div><p><br \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc18c\uac1c MySQL\uc5d0\uc11c \ub370\uc774\ud130 \uac80\uc0c9\uc2dc \ub370\uc774\ud130\uac00 \ub9ce\uc740 \uacbd\uc6b0 \uc790\ub8cc\ub97c \uac80\uc0c9\ud558\ub294\ub370 \uc18c\ubaa8\ub418\ub294 \uc2dc\uac04\uc774 \ud06c\ub2e4. MySQL\uc758 \ub370\uc774\ud130\ub97c \ubcc4\ub3c4\uc758 \uac80\uc0c9\uc5d4\uc9c4\uc774 \uc778\ub371\uc2f1\ud558\uc5ec \uc778\ub371\uc2f1\uc744 \uac80\uc0c9\ud568\uc73c\ub85c\uc11c \uc2dc\uac04 \uc18c\ubaa8\ub97c \uc904\uc77c \uc218 \uc788\ub2e4. \uc5ec\uae30\uc11c\ub294 \uc624\ud508\uc18c\uc2a4 \ud504\ub85c\uadf8\ub7a8\uc778 Sphinx \uac80\uc0c9 \uc5d4\uc9c4\uc744 \ub3c4\uc785\ud574\ubcf4\uace0, Sphinx \uac80\uc0c9\uc5d4\uc9c4\uacfc MySQL, \uadf8\ub9ac\uace0 PHP\uc640 \ud568\uaed8 \uc0ac\uc6a9\ud574\ub3c4\ub85d \ud55c\ub2e4. \uc124\uce58 \ud658\uacbd OS : Debian 7 64Bit S\/W : MySQL : 5.6.11 \/ PHP 5.4.4-14 \uc124\uce58\ud560 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[23],"tags":[],"class_list":["post-507","post","type-post","status-publish","format-standard","hentry","category-development_web"],"_links":{"self":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/507","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=507"}],"version-history":[{"count":0,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/507\/revisions"}],"wp:attachment":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=507"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=507"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=507"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}