js

Elasticsearch JS API

Found by looking in node_modules/elasticsearch/src/lib/apis/<version, e.g. 7_6.js>


JSDoc exists but often just leads to an online docs page which is either verbose or lacking.


Main functions:

  • count
  • create
  • get
  • search
  • index
  • reindex
  • update
  • updateByQuery
  • delete
  • deleteByQuery
  • bulk
  • ping

Weird functions:

  • scroll
  • clearScroll
  • searchShards
  • rankEval
  • updateByQueryRethrottle
  • deleteByQueryRethrottle
  • getScript
  • deleteScript
  • putScript
  • scriptsPainlessExecute
  • exists
  • existsSource
  • getSource
  • explain
  • fieldCaps
  • mget
  • msearch
  • msearchTemplate
  • mtermVectors
  • reindexRethrottle
  • renderSearchTemplate
  • searchTemplate
  • termvectors