index-modules.asciidoc 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. [[index-modules]]
  2. = Index Modules
  3. [partintro]
  4. --
  5. Index Modules are modules created per index and control all aspects
  6. related to an index. Since those modules lifecycle are tied to an index,
  7. all the relevant modules settings can be provided when creating an index
  8. (and it is actually the recommended way to configure an index).
  9. [float]
  10. == Index Settings
  11. There are specific index level settings that are not associated with any
  12. specific module. These include:
  13. `index.compound_format`::
  14. Should the compound file format be used (boolean
  15. setting). If not set, controlled by the actually store used, this is
  16. because the compound format was created to reduce the number of open
  17. file handles when using file based storage. By default, it is set to
  18. `false` for better performance (really applicable for file system based
  19. index storage), but, requires adapting the max open file handles.
  20. `index.term_index_interval`::
  21. Set the interval between indexed terms.
  22. Large values cause less memory to be used by a reader / searcher, but
  23. slow random-access to terms. Small values cause more memory to be used
  24. by a reader / searcher, and speed random-access to terms. Defaults to
  25. `128`.
  26. `index.term_index_divisor`::
  27. Subsamples which indexed terms are loaded
  28. into RAM. This has the same effect as `index.term_index_interval` except
  29. that setting must be done at indexing time while this setting can be set
  30. per reader / searcher. When set to N, then one in every
  31. N*termIndexInterval terms in the index is loaded into memory. By setting
  32. this to a value > 1 you can reduce memory usage, at the expense of
  33. higher latency when loading a TermInfo. The default value is 1. Set this
  34. to -1 to skip loading the terms index entirely.
  35. `index.refresh_interval`::
  36. A time setting controlling how often the
  37. refresh operation will be executed. Defaults to `1s`. Can be set to `-1`
  38. in order to disable it.
  39. --
  40. include::index-modules/analysis.asciidoc[]
  41. include::index-modules/allocation.asciidoc[]
  42. include::index-modules/slowlog.asciidoc[]
  43. include::index-modules/merge.asciidoc[]
  44. include::index-modules/store.asciidoc[]
  45. include::index-modules/mapper.asciidoc[]
  46. include::index-modules/translog.asciidoc[]
  47. include::index-modules/cache.asciidoc[]
  48. include::index-modules/fielddata.asciidoc[]
  49. include::index-modules/codec.asciidoc[]
  50. include::index-modules/similarity.asciidoc[]