index-modules.asciidoc 2.3 KB

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