UNPKG

elasticsearch-tools

Version:

Elasticsearch command line tools for importing, exporting, etc

15 lines (13 loc) 834 B
#!/usr/bin/env node require('./exporter').indicesExport('getMapping', 'mappings', { index: 'String, String[], Boolean — A comma-separated list of index names', type: 'String, String[], Boolean — A comma-separated list of document types', ignoreUnavailable: 'Boolean — Whether specified concrete indices should be ignored when unavailable (missing or closed)', allowNoIndices: 'Boolean — Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes _all string or when no indices have been specified)', expandWildcards: 'String — Whether to expand wildcard expression to concrete indices that are open, closed or both.', local: 'Boolean — Return local information, do not retrieve the state from master node (default: false)' });