pelias-query
Advanced tools
Comparing version 9.15.1 to 9.15.2
{ | ||
"name": "pelias-query", | ||
"version": "9.15.1", | ||
"version": "9.15.2", | ||
"description": "An Elasticsearch query builder for Pelias", | ||
@@ -28,3 +28,3 @@ "engines": { | ||
"check-types": "^8.0.0", | ||
"lodash": "^4.14.1" | ||
"lodash": "^4.17.14" | ||
}, | ||
@@ -31,0 +31,0 @@ "devDependencies": { |
>This repository is part of the [Pelias](https://github.com/pelias/pelias) | ||
>project. Pelias is an open-source, open-data geocoder built by | ||
>[Mapzen](https://www.mapzen.com/) that also powers [Mapzen Search](https://mapzen.com/projects/search). Our | ||
>official user documentation is [here](https://mapzen.com/documentation/search/). | ||
>project. Pelias is an open-source, open-data geocoder originally sponsored by | ||
>[Mapzen](https://www.mapzen.com/). Our official user documentation is | ||
>[here](https://github.com/pelias/documentation). | ||
@@ -241,3 +241,3 @@ # Pelias Query | ||
The `.score` method is used to assign views which **will effect the scoring** of the results. | ||
The `.score` method is used to assign views which **will affect the scoring** of the results. | ||
@@ -256,3 +256,3 @@ In most cases you can assume that **records which match more of these conditions will appear higher in the results than those which match fewer**. | ||
// in this case we mark the view as a 'must' match condition. | ||
// Matching results will effect the score **but** in this case | ||
// Matching results will affect the score **but** in this case | ||
// **non-matching records will be removed from the results completely** | ||
@@ -264,3 +264,3 @@ q.score(view, 'must'); | ||
The `.filter` method is used to assign views which **do not effect the scoring** of results. | ||
The `.filter` method is used to assign views which **do not affect the scoring** of results. | ||
@@ -278,5 +278,5 @@ **note:** The more results you remove before sorting; using either this method *or* the `.score` method above (with 'must'), the better your query performance will be. | ||
The `.sort` method is used to assign views which effect the sorting of results. | ||
The `.sort` method is used to assign views which affect the sorting of results. | ||
In effect this method is not as useful as it sounds, for the most part you should be using `.score` methods above to effect the sorting of results. | ||
This method is not as useful as it sounds, for the most part you should be using `.score` methods above to affect the sorting of results. | ||
@@ -283,0 +283,0 @@ This function is only really useful in cases where a 'tiebreaker' is needed. For example: searching 'mcdonalds' may result in several records which scored the same value, in this case we can attempt to 'break the tie'. |
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
308590
Updatedlodash@^4.17.14