forked from docs/doc-exports
Reviewed-by: Kacur, Michal <michal.kacur@t-systems.com> Co-authored-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com> Co-committed-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com>
28 lines
2.5 KiB
HTML
28 lines
2.5 KiB
HTML
<a name="css_01_0232"></a><a name="css_01_0232"></a>
|
|
|
|
<h1 class="topictitle1">Text Index Acceleration</h1>
|
|
<div id="body8662426"><ul id="css_01_0232__en-us_topic_0000001549303621_ul681133494318"><li id="css_01_0232__en-us_topic_0000001549303621_li118120347434">You can configure <strong id="css_01_0232__en-us_topic_0000001549303621_b1926291218572">index.native_speed_up</strong> to enable or disable text index acceleration. This function optimizes the index process and memory usage to accelerate index building for text fields (text and keyword).</li><li id="css_01_0232__en-us_topic_0000001549303621_li88183414316">You can configure <span class="parmname" id="css_01_0232__en-us_topic_0000001549303621_parmname1484518131511"><b>index.native_analyzer</b></span> to enable or disable word segmentation acceleration. For texts that require common word segmentation, you can use the analyzer to accelerate word segmentation. </li></ul>
|
|
<div class="section" id="css_01_0232__en-us_topic_0000001549303621_section381314245297"><h4 class="sectiontitle">Procedure</h4><ol id="css_01_0232__en-us_topic_0000001549303621_ol1549211439294"><li id="css_01_0232__en-us_topic_0000001549303621_li94259413385">Choose <strong id="css_01_0232__en-us_topic_0000001549303621_b46952720062250">Clusters</strong> in the navigation pane. On the <strong id="css_01_0232__en-us_topic_0000001549303621_b35488548862250">Clusters</strong> page, locate the target cluster, and click <strong id="css_01_0232__en-us_topic_0000001549303621_b87692364662250">Access Kibana</strong> in the <strong id="css_01_0232__en-us_topic_0000001549303621_b133197043962250">Operation</strong> column.</li><li id="css_01_0232__en-us_topic_0000001549303621_li11420444113818">In the navigation tree on the left, choose <strong id="css_01_0232__en-us_topic_0000001549303621_b62020078462256">Dev Tools</strong>.</li><li id="css_01_0232__en-us_topic_0000001549303621_li14923433297">On the <span class="uicontrol" id="css_01_0232__en-us_topic_0000001549303621_uicontrol88406725062258"><b>Dev Tools</b></span> page, run the following command:<pre class="screen" id="css_01_0232__en-us_topic_0000001549303621_screen1467804014239">PUT my_index
|
|
{
|
|
"settings": {
|
|
"index.native_speed_up": true,
|
|
"index.native_analyzer": true
|
|
},
|
|
"mappings": {
|
|
"properties": {
|
|
"my_field": {
|
|
"type": "text"
|
|
}
|
|
}
|
|
}
|
|
}</pre>
|
|
</li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_01_0229.html">Instructions</a></div>
|
|
</div>
|
|
</div>
|
|
|