- Adjustments to support Elasticsearch v7 and up (https://www.elastic.co/guide/en/elasticsearch/reference/current/removal-of-types.html)
- Updated core.add (core.index): added
/_docto path and eliminated_typeparameter requirement - Updated core.delete: added
/_docto path - Updated core.get: added
/_docto path and eliminated_typeparameter requirement - Removed core.moreLikeThis: is now accomplished via search query (https://www.elastic.co/guide/en/elasticsearch/reference/7.13/query-dsl-mlt-query.html)
- Updated core.multiGet: removed
_typefrom path and eliminated_typeparameter requirement - Updated core.update: removed
_typefrom path and eliminated_typeparameter requirement - Updated core.bulkIndex: removed
_typefrom payload interpolation - Updated core.explain: removed
_typefrom path and eliminated_typeparameter requirement - Updated core.search: removed
_typefrom path - Updated core.suggest: removed
_typefrom path - Updated core.count: removed
_typefrom path - Updated core.multiSearch: removed
_typefrom path - Updated core.deleteByQuery: removed
_typefrom path - Removed core.exists: fully deprecated in ES 7.x
- Updated indices.putMapping: removed
/_mapping/_typefrom resource and eliminated_typeparameter requirement - Updated indices.stats: removed
_typefrom path - Updated indices.deleteMapping: removed
_typefrom path and elimited_typeparameter requirement - Updated indices.exists: removed
_typefrom path - Updated indices.mappings: removed
_typefrom path
- Updated core.add (core.index): added
- Updated dependencies
- Modified
package.jsonand moved toprepareinstead ofprepublish - Updated
reqlibdependency with tighter request body handling
- Removed extraneous
console.logstatements in functional test
- Adjusted
scrollmethod to construct proper scroll payload when only the ID is specified
- Replaced
thenifyandbluebirddependencies withbabel - Modified to support ElasticSearch 6.x.x
suggestmethod adjusted to use_searchendpoint instead of deprecated_suggest
- Fixed issue where
cluster.hotThreadscallback returned result aserr - Adjusted failover behavior for
hostskey, specifically to better align with the URL module in Node core - Adjusted mappings in the functional tests according to changes in Elasticsearch 6.x
- Modified to support ElasticSearch 5.5.x
indices.createIndexmethod adjusted to only callput(deprecatedpost)indices.optimizemethod deprecatedindices.statusmethod deprecatedWarmersdeprecatedPercolatorsdeprecatedscansearch_type deprecatedandfilter deprecate and replaced byboolquery- unit and functional tests udpated
- Added fix for scenario where
_indexand_typeoverrides would not always work (Issue #62) - Adjusted functional tests to appropriately work with Elasticsearch versions greater than v2.0
- Updated documentation for
countmethod
- Added support for promises while maintaining backwards compatibility in existing API (persuant to issue #58)
- Moved to eslint from jshint
- Factored mocha options into an options file
- Moved code coverage work to Travis-CI to eliminate developer side error when running
npm test - Moved to Istanbul from jscoverage and cleaned up NPM scripts used for testing
- Fixed issue where
_sourceparameter was not properly added to the URL when usingget
- Adjusted
es.indices.putMappingto match Elasticsearch documentation
- Added support for
_createas an option when callinges.indexfunction
- Added support for supplying additional parameters to
es.indices.putMapping(i.e.ignore_conflicts) - Minor updates to reflect additions and changes in versions of Elasticsearch post v1.3.x
- Fix for issue #48 - querystring parameters as arrays were not properly formatted when sent
- Fix for issue #47 - updating jscoverage dependency version
- Fix for issue #46 - request defaults to port 80
- Modifed to support ElasticSearch 1.0.x
cluster.nodesInfomethod updatedcluster.nodesStatusmethod updatedregisterPercolatormethod updatedunregisterPercolatormethod updated- unit and functional tests updated
- Added support for
scroll()method in core module
- Fix to allow _id values of 0
- Fix for update() method not allowing script field to be a blank value
- Fix for EventEmitter listener Node warning
- Switched module name to
esfromelasticsearch - Fixed documentation spelling errors
- Added longer timeout for functional tests
- Added support for suggest API method
- Rewrote mechanism for logging HTTP requests to use events instead
- Fixed bulk index method to handle passing in ids properly
- Added ability to log HTTP requests
- Expose underlying request API to clients for easier override
- Added functional test suite and configured in Travis-CI
- Fixed bug in multiGet method
- Fixed bug in deleteByQuery method
- Changed underlying request and utils modules for better extensibility
- Added ability to override/extend core request module
- Added bulkIndex method to core for convenience
- Enhanced documentation
- Fixed bug in constructor where default server settings were ignored in some cases
- Set content length on request for reverse proxy support
- Tightened up dependency version requirements in NPM
- Improved error messaging by passing HTTP status codes back to clients
- Removed line of debugging code
- Failover support for ElasticSearch clusters
- Fixed bug on bulk index call
- Completed all API methods for ElasticSearch in module
- Added suite of unit tests and integration with Coveralls.io to display test coverage
- Split API into 3 areas (Core, Indices and Cluster) mapping closely to ElasticSearch API components
- Enchanced error event exposure for clients
- Addressed minor JSHint item in code
- Minor bug fix related to server config
- Added support for SSL and BasicAuth
- Added additional module constructor for ease of use
- Improved error messages
- Converted functional tests to use node-tap
- Added URL for homepage for NPM
- Added support for configurable hostname and port number
- Added functional test support in Travis configuration
- Implemented Travis-CI
- Updated API documentation of component