mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-08 22:14:59 +00:00
Update store.asciidoc (#21353)
* Update store.asciidoc * Update store.asciidoc * Update store.asciidoc
This commit is contained in:
parent
c970aedd44
commit
1a23739211
@ -89,12 +89,12 @@ loaded into physical memory.
|
|||||||
This setting is best-effort only and may not work at all depending on the store
|
This setting is best-effort only and may not work at all depending on the store
|
||||||
type and host operating system.
|
type and host operating system.
|
||||||
|
|
||||||
The `index.store.pre_load` is a static setting that can either be set in the
|
The `index.store.preload` is a static setting that can either be set in the
|
||||||
`config/elasticsearch.yml`:
|
`config/elasticsearch.yml`:
|
||||||
|
|
||||||
[source,yaml]
|
[source,yaml]
|
||||||
---------------------------------
|
---------------------------------
|
||||||
index.store.pre_load: ["nvd", "dvd"]
|
index.store.preload: ["nvd", "dvd"]
|
||||||
---------------------------------
|
---------------------------------
|
||||||
|
|
||||||
or in the index settings at index creation time:
|
or in the index settings at index creation time:
|
||||||
@ -104,7 +104,7 @@ or in the index settings at index creation time:
|
|||||||
PUT /my_index
|
PUT /my_index
|
||||||
{
|
{
|
||||||
"settings": {
|
"settings": {
|
||||||
"index.store.pre_load": ["nvd", "dvd"]
|
"index.store.preload": ["nvd", "dvd"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
---------------------------------
|
---------------------------------
|
||||||
@ -116,7 +116,7 @@ values to be loaded eagerly into physical memory. These are the two first
|
|||||||
extensions to look at since elasticsearch performs random access on them.
|
extensions to look at since elasticsearch performs random access on them.
|
||||||
|
|
||||||
A wildcard can be used in order to indicate that all files should be preloaded:
|
A wildcard can be used in order to indicate that all files should be preloaded:
|
||||||
`index.store.pre_load: ["*"]`. Note however that it is generally not useful to
|
`index.store.preload: ["*"]`. Note however that it is generally not useful to
|
||||||
load all files into memory, in particular those for stored fields and term
|
load all files into memory, in particular those for stored fields and term
|
||||||
vectors, so a better option might be to set it to
|
vectors, so a better option might be to set it to
|
||||||
`["nvd", "dvd", "tim", "doc", "dim"]`, which will preload norms, doc values,
|
`["nvd", "dvd", "tim", "doc", "dim"]`, which will preload norms, doc values,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user