elastic-builder
Advanced tools
Comparing version 2.19.0 to 2.20.0
{ | ||
"name": "elastic-builder", | ||
"version": "2.19.0", | ||
"version": "2.20.0", | ||
"description": "A JavaScript implementation of the elasticsearch Query DSL", | ||
@@ -107,4 +107,5 @@ "main": "src/index.js", | ||
"kennylindahl <haxxblaster@gmail.com>", | ||
"foxstarius <aj.franzon@gmail.com>" | ||
"foxstarius <aj.franzon@gmail.com>", | ||
"sandeep952 <sandy335582@gmail.com>" | ||
] | ||
} |
@@ -74,4 +74,18 @@ 'use strict'; | ||
} | ||
/** | ||
* Allows ASCII case insensitive matching of the value with the indexed | ||
* field values when set to true. | ||
* | ||
* NOTE: Only available in Elasticsearch v7.10.0+ | ||
* | ||
* @param {boolean} value | ||
* @returns {ValueTermQueryBase} returns `this` so that calls can be chained. | ||
*/ | ||
caseInsensitive(value = true) { | ||
this._queryOpts.case_insensitive = value; | ||
return this; | ||
} | ||
} | ||
module.exports = ValueTermQueryBase; |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1012255
25409