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

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                # Term_vectors(詞根信息) **Term vectors**?是通過分析器解析產生的信息,包括: * 一組?**terms**?(詞根)。 * 每個詞根的位置(順序)。 * 映射詞根的首字符和尾字符與原始字符串原點的偏移量。 這些?**term vectors**?將被存儲,一遍將他從一個特定的文檔中取出。 **term_vector**?有一下參數設置: | no | 不存儲**term vectors**信息。(默認值) | | yes | 僅次字段中的**terms**(詞根)被存儲。 | | with_positions | 存儲詞根和位置。 | | with_offset | 存儲詞根和字符偏移量。 | | with_positions_offsets | 存儲詞根、位置和字符偏移量。 | **fast vector highlighter**?需要用到?**with_positions_offsets**。**term vectors API**?可以檢索存儲的任何內容。 警告 使用**with_positions_offsets?**將會是字段的索引大小增加一倍。 | `curl -XPUT?``'localhost:9200/my_index?pretty'`?`-H?``'Content-Type: application/json'`?`-d'` `{` `"mappings"``: {` `"my_type"``: {` `"properties"``: {` `"text"``: {` `"type"``:????????``"text"``,` `"term_vector"``:?``"with_positions_offsets"` `}` `}` `}` `}` `}` `'` `curl -XPUT?``'localhost:9200/my_index/my_type/1?pretty'`?`-H?``'Content-Type: application/json'`?`-d'` `{` `"text"``:?``"Quick brown fox"` `}` `'` `curl -XGET?``'localhost:9200/my_index/_search?pretty'`?`-H?``'Content-Type: application/json'`?`-d'` `{` `"query"``: {` `"match"``: {` `"text"``:?``"brown fox"` `}` `},` `"highlight"``: {` `"fields"``: {` `"text"``: {}?``#1` `}` `}` `}` `'` | | 1 | 因為**?term vectors**?功能的使用,**text**?字段將會默認使用**fast vector highlighter**。 |
                  <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>

                              哎呀哎呀视频在线观看