{"id":111195,"date":"2020-05-14T23:04:30","date_gmt":"2020-05-14T15:04:30","guid":{"rendered":"http:\/\/4563.org\/?p=111195"},"modified":"2020-05-14T23:04:30","modified_gmt":"2020-05-14T15:04:30","slug":"%e5%85%b3%e4%ba%8e-mysql-%e5%85%a8%e6%96%87%e6%a3%80%e7%b4%a2%e7%9a%84%e5%88%86%e8%af%8d%e5%92%8c-wildcard","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=111195","title":{"rendered":"\u5173\u4e8e mysql \u5168\u6587\u68c0\u7d22\u7684\u5206\u8bcd\u548c wildcard"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5173\u4e8e mysql \u5168\u6587\u68c0\u7d22\u7684\u5206\u8bcd\u548c wildcard               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xianyu0 <\/span>  <span><i><\/i> 52<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\">                        \u9700\u6c42\u662f\u8fd9\u6837\u7684\uff0c\u641c\u7d22\u5173\u952e\u5b57\u6709\u53ef\u80fd\u662f\u8bcd\u7ec4\uff0c\u671f\u671b\u641c\u7d22\u51fa\u6765\u7684\u7ed3\u679c\u5305\u542b\u6574\u4e2a\u8bcd\u7ec4\uff08\u5373\u4e0d\u5206\u8bcd\uff09\uff0c\u4f46\u53ef\u4ee5\u5e26\u540e\u7f00\u901a\u914d\u7b26\u3002<\/p>\n<p>\u6bd4\u5982\uff1a\u641c\u7d22 hello world<br \/>\u671f\u671b\u7ed3\u679c\u5305\u62ec\uff1a<br \/> hello world<br \/> hello worlds<br \/>\u4e0d\u5305\u62ec\uff1a<br \/> hello xxx world<\/p>\n<p>mysql \u7684\u5168\u6587\u68c0\u7d22\u901a\u8fc7 double quote \u963b\u6b62\u5206\u8bcd\uff0c\u4f46\u662f\u5728 double quote \u91cc\u65e0\u6cd5\u4f7f\u7528 wildcard\uff0c<br \/>\u6bd4\u5982 match(c) against(&#8216;&#8221;hello world*&#8221;&#8216; in boolean mode) \u7684\u641c\u7d22\u7ed3\u679c\u5e76\u4e0d\u5305\u542b hello worlds\u3002<\/p>\n<p>\u8fd9\u4e2a\u8c8c\u4f3c\u662f mysql \u7684 bug\uff0c\u641c\u5230\u8fd9\u4e2a issue\uff1a https:\/\/bugs.mysql.com\/bug.php?id=80723<\/p>\n<p>\u4e0d\u77e5\u662f\u5426\u6709\u529e\u6cd5\u7ed5\u8fc7\uff08\u6682\u4e0d\u8003\u8651 elasticsearch\u2026\u2026      <\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>6<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"541059\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : simapple <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e5f\u7b97\u4e0d\u4e0a bug\uff0c \u4f60\u641c\u7d22 helloworld* \u5c31\u597d\u4e86\uff0c\u4e0d\u8981\u7559\u51fa\u7a7a\u683c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"541060\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : reidxx <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e3b\u7528 mysql \u7684\u5168\u6587\u7d22\u5f15\u600e\u4e48\u5904\u7406\u4e2d\u6587\u95ee\u9898\u7684\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"541061\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wangyzj <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u89c9\u5f97\u4f60\u8981\u7528 mysql fulltext \u5c31\u522b\u592a\u7ea0\u7ed3\u4ed6\u7684\u5206\u8bcd\u628a<br \/>\u6216\u8005\u81ea\u5df1\u6302\u4e00\u4e2a\u5206\u8bcd\u63d2\u4ef6                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"541062\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : xianyu0 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @simapple <br \/>\u641c helloworld* \u5f97\u4e0d\u5230 `hello world&#8217; \u8fd9\u6837\u7684\u7ed3\u679c\u5427<\/p>\n<p>@reidxx <br \/>\u6211\u641c\u7d22\u7684\u5185\u5bb9\u5168\u662f\u82f1\u6587\u7684\uff0cmysql5.6+\u4e4b\u540e\u4e0d\u662f\u5f15\u5165\u4e86 ngram \u4e86\u5417\uff1f\u5df2\u7ecf\u652f\u6301\u4e2d\u6587\u5206\u8bcd\u4e86\u5427\uff0c\u4e0d\u8fc7\u8c8c\u4f3c\u662f\u6bd4\u8f83\u7b80\u5355\u7684\u5206\u8bcd                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"541063\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : klaudy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             mysql \u6b63\u5219\u8868\u8fbe\u5f0f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"541064\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : simapple <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @xianyu0 \u54e6 \u6ca1\u770b\u6e05\u95ee\u9898\uff0c\u6211\u8bd5\u4e86\u4e00\u4e0b match(content) against(&#8216;&#8221;hello world&#8221;&#8216; in boolean mode) \u8fd9\u6837\u641c\uff0c\u53ef\u4ee5\u5339\u914d\u5230 hello world \u548c hello worlds                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5173\u4e8e mysql \u5168\u6587\u68c0\u7d22\u7684\u5206\u8bcd\u548c&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/111195"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=111195"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/111195\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=111195"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=111195"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=111195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}