Skip to content

Latest commit

 

History

History
46 lines (44 loc) · 3.09 KB

index.md

File metadata and controls

46 lines (44 loc) · 3.09 KB

Module elastic

Module elastic provides access to ElasticSearch servers.

Classes

Constants

  • CONSISTENCY_ONE - Defines level of consistency - require only one replication.
  • CONSISTENCY_QUORUM - Defines level of consistency - require quorum replications
  • CONSISTENCY_ALL - Defines level of consistency - require all replications.
  • PARAM_CONSISTENCY - Defines level of consistency.
  • PARAM_REFRESH - Enables or disables instant refreshing of index (for real-time).
  • PARAM_ROUTING - Defines routing of document.
  • PARAM_SOURCE - Enables or disables fetching source of documents.
  • PARAM_SOURCE_INCLUDE - Filtering fields in source of documents (whitelist).
  • PARAM_SOURCE_EXCLUDE - Filtering fields in source of documents (blacklist).
  • PARAM_TIMEOUT - Defines timeout of operation.
  • PARAM_TTL - Defines time to live of documents.
  • PARAM_VERSION - Defines version number of document for atomic operations.
  • REFRESH_ENABLED - Enabling instant refreshing of index.
  • REFRESH_DISABLED - Disabling instant refreshing of index (index will be refreshed by server in defines period).
  • SOURCE_ENABLED - Enabling retrieving source of document.
  • SOURCE_DISABLED - Disabling retrieving source of document.