<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                一、分詞 我們可以先來看下啥叫分詞,在es中,分詞會對關鍵詞進行一個或者幾個分隔,比如輸入了 隔壁小白,則會查詢到 隔壁、小、白、隔、小壁等關鍵詞有關的文檔數據。 而使用過mysql的模糊查詢的童鞋們,應該都知道,輸入了 隔壁小白,則只會出現 隔壁小白123、321淘寶了壓抑122、22445淘寶了壓抑等相關的數據。它不會對其中的關鍵詞進行分割 二、不分詞使用 es對于不分詞,其實主要是 match_phrase的使用。我們平時比較多是使用match,這個是會進行分詞的 三、先看下使用match 查詢結果 ``` [6] => Array ( [_index] => testindex [_type] => testtype [_id] => P3QqTHcBSzBd54DbdZMl [_score] => 3.9861763 [_source] => Array ( [product_name] => 1016隔壁小白287 [rand] => 5082 ) ) [7] => Array ( [_index] => testindex [_type] => testtype [_id] => Q3QqTHcBSzBd54DbepOG [_score] => 3.9861763 [_source] => Array ( [product_name] => 504隔壁小白1030 [rand] => 5275 ) ) [8] => Array ( [_index] => testindex [_type] => testtype [_id] => s3QrTHcBSzBd54DbDZPS [_score] => 3.9861763 [_source] => Array ( [product_name] => 801隔壁小白15 [rand] => 4342 ) ) [9] => Array ( [_index] => testindex [_type] => testtype [_id] => enQqTHcBSzBd54Dbs5PF [_score] => 3.807864 [_source] => Array ( [product_name] => 162隔1壁2小3白4157 [rand] => 5552 ) ) ``` 由此可見搜索 “隔壁小白”? 結果出現? “162隔1壁2小3白4157”? “504隔壁小白1030” **四、使用?match\_phrase? 進行檢索結果如下??** ``` ( [0] => Array ( [_index] => testindex [_type] => testtype [_id] => PnQqTHcBSzBd54Dbc5PD [_score] => 7.4503546 [_source] => Array ( [product_name] => 579隔壁小白891 [rand] => 6165 ) ) [1] => Array ( [_index] => testindex [_type] => testtype [_id] => QnQqTHcBSzBd54DbeZOu [_score] => 7.4503546 [_source] => Array ( [product_name] => 928隔壁小白637 [rand] => 9975 ) ) [2] => Array ( [_index] => testindex [_type] => testtype [_id] => PHQqTHcBSzBd54DbbZNd [_score] => 4.6551437 [_source] => Array ( [product_name] => 77隔壁小白1106 [rand] => 2949 ) ) ) ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看