elastic-particles
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict' |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -6,2 +6,4 @@ 'use strict'; | ||
exports.MatchQuery = require('./queries/matchQuery'); | ||
exports.TermQuery = require('./queries/termQuery'); | ||
exports.RangeQuery = require('./queries/rangeQuery'); | ||
@@ -8,0 +10,0 @@ exports.AndFilter = require('./filters/andFilter'); |
@@ -38,2 +38,12 @@ 'use strict'; | ||
return this; | ||
}; | ||
}; | ||
/** | ||
* Set query boost. | ||
* @param {number} boostFactor Number, string representation | ||
* of number, or undefined to unset. | ||
*/ | ||
BoolQuery.prototype.setBoost = function setBoost(boostFactor) { | ||
this.bool.boost = boostFactor; | ||
return this; | ||
} |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -47,2 +47,12 @@ 'use strict'; | ||
/** | ||
* Set query boost. | ||
* @param {number} boostFactor Number, string representation | ||
* of number, or undefined to unset. | ||
*/ | ||
MultiMatchQuery.prototype.setBoost = function setBoost(boostFactor) { | ||
this.multi_match.boost = boostFactor; | ||
return this; | ||
} | ||
module.exports = MultiMatchQuery; |
@@ -0,0 +0,0 @@ 'use strict'; |
{ | ||
"name": "elastic-particles", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "Building blocks for Elastic queries, filters, and aggregations which can be re-used, combed, and nested.", | ||
@@ -34,4 +34,3 @@ "author": { | ||
], | ||
"dependencies": { | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
@@ -38,0 +37,0 @@ "mocha": "~2.2.1", |
#H1 Elastic Particles | ||
Placeholder |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
34992
31
940
0