- 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
/_doc
to path and eliminated_type
parameter requirement - Updated core.delete: added
/_doc
to path - Updated core.get: added
/_doc
to path and eliminated_type
parameter 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
_type
from path and eliminated_type
parameter requirement - Updated core.update: removed
_type
from path and eliminated_type
parameter requirement - Updated core.bulkIndex: removed
_type
from payload interpolation - Updated core.explain: removed
_type
from path and eliminated_type
parameter requirement - Updated core.search: removed
_type
from path - Updated core.suggest: removed
_type
from path - Updated core.count: removed
_type
from path - Updated core.multiSearch: removed
_type
from path - Updated core.deleteByQuery: removed
_type
from path - Removed core.exists: fully deprecated in ES 7.x
- Updated indices.putMapping: removed
/_mapping/_type
from resource and eliminated_type
parameter requirement - Updated indices.stats: removed
_type
from path - Updated indices.deleteMapping: removed
_type
from path and elimited_type
parameter requirement - Updated indices.exists: removed
_type
from path - Updated indices.mappings: removed
_type
from path
- Updated core.add (core.index): added
- Updated dependencies
- Modified
package.json
and moved toprepare
instead ofprepublish
- Updated
reqlib
dependency with tighter request body handling
- Removed extraneous
console.log
statements in functional test
- Adjusted
scroll
method to construct proper scroll payload when only the ID is specified
- Replaced
thenify
andbluebird
dependencies withbabel
- Modified to support ElasticSearch 6.x.x
suggest
method adjusted to use_search
endpoint instead of deprecated_suggest
- Fixed issue where
cluster.hotThreads
callback returned result aserr
- Adjusted failover behavior for
hosts
key, 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.createIndex
method adjusted to only callput
(deprecatedpost
)indices.optimize
method deprecatedindices.status
method deprecatedWarmers
deprecatedPercolators
deprecatedscan
search_type deprecatedand
filter deprecate and replaced bybool
query- unit and functional tests udpated
- Added fix for scenario where
_index
and_type
overrides would not always work (Issue #62) - Adjusted functional tests to appropriately work with Elasticsearch versions greater than v2.0
- Updated documentation for
count
method
- 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
_source
parameter was not properly added to the URL when usingget
- Adjusted
es.indices.putMapping
to match Elasticsearch documentation
- Added support for
_create
as an option when callinges.index
function
- 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.nodesInfo
method updatedcluster.nodesStatus
method updatedregisterPercolator
method updatedunregisterPercolator
method 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
es
fromelasticsearch
- 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