<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>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                # Testing analyzers(測試分析器) analyze API是查看分析器生成詞語的一個非常有用的工具。內置的分析器(或結合內置的分詞器,詞語過濾器和字符過濾器)可以在請求中指定內聯: | `POST _analyze` `{` `"analyzer"``:?``"whitespace"``,` `"text"``:?????``"The quick brown fox."``}` `POST _analyze` `{` `"tokenizer"``:?``"standard"``,` `"filter"``:? [?``"lowercase"``,?``"asciifolding"`?`],` `"text"``:??????``"Is this déja vu?"``}` | ##### Positions and character offsets(位置和字符偏移) 從analyze API的輸出可以看出,分析器不僅將單詞轉換為詞語,還記錄了每個詞語(用于短語查詢或近義詞查詢)的順序或相對位置,以及原始文本中每個詞語的起始和結束字符的偏移量(用于突出搜索片段)。 或者,在特定的索引上運行analyze API時,可以參考自定義分析器: ? | `PUT my_index` `{` `"settings"``: {` `"analysis"``: {` `"analyzer"``: {` `"std_folded"``: {???????????????????????``#1` `"type"``:?``"custom"``,` `"tokenizer"``:?``"standard"``,` `"filter"``: [` `"lowercase"``,` `"asciifolding"` `]` `}` `}` `}` `},` `"mappings"``: {` `"my_type"``: {` `"properties"``: {` `"my_text"``: {` `"type"``:?``"text"``,` `"analyzer"``:?``"std_folded"`????????????`#2` `}` `}` `}` `}}` `GET my_index``/_analyze`?`{???????????????????????``#3` `"analyzer"``:?``"std_folded"``,???????????????????``#4` `"text"``:?????``"Is this déjà vu?"``}` `GET my_index``/_analyze`?`{???????????????????????``#5` `"field"``:?``"my_text"``,?????????????????????????``#6` `"text"``:??``"Is this déjà vu?"``}` | | 1 | 定義名為std_folded的自定義分析器。 | | 2 | 字段my_text使用std_folded分析器。 | | 3,5 | 要參考此分析器,analyze API必須指定索引名稱。 | | 4 | 按名稱查看分析器。 | | 6 | 請參閱字段my_text使用的分析器。 |
                  <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>

                              哎呀哎呀视频在线观看