Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

elastic-particles

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elastic-particles - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

lib/queries/rangeQuery.js

0

lib/aggregations/aggregation.js

@@ -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';

5

package.json
{
"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
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc