Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/pelias/query

geospatial queries used by the pelias api
https://github.com/pelias/query

updated `boost_mode` from `replace` to `multiply`

3d6f1dafea73223a5a28cd1c04a34bf3bca6d13f authored over 8 years ago by Stephen Hess <[email protected]>
extracted shared base query to separate file, clone on `require`

35a31654193ce6b67c55b4aebf66b7a25c8159f9 authored over 8 years ago by Stephen Hess <[email protected]>
switched `score_mode` from `first` to `avg` for multiple functions

f890a72eefc28c404a6145e7e92b070c9337c4e1 authored over 8 years ago by Stephen Hess <[email protected]>
moved scoring functions to `query.function_score.functions`

The scoring functions have been moved to where they can be applied to the set of all results. P...

c461064fd21e1c15e8a8120d6f8518317367c7b9 authored over 8 years ago by Stephen Hess <[email protected]>
reconfigured queries to actually work

the queries require the use of `function_score` for population/popularity scoring which operate ...

583166e3c4cb9717dd1eff8637f0c8c0f567ec23 authored over 8 years ago by Stephen Hess <[email protected]>
reorganized query to apply functions to list of results

the population/popularity scoring functions have been enabled by force while details of querying...

b6d06b91b29abb8b4884c76589fd122e0e4af797 authored over 8 years ago by Stephen Hess <[email protected]>
feat: Merge pull request #45 from pelias/add-support-for-scoring-queries

added scoring and filtering support to FallbackQuery and GeodisambiguationQuery

d4e53c9d511ed51bbbfb99ae1b041903aaee4779 authored over 8 years ago by Stephen K Hess <[email protected]>
added support for filters

copied from FilteredBooleanQuery for simplicity, can be refactored as behavior refinements emerge

288685309efbdfd6db9deee2b9199f950d4f6c57 authored over 8 years ago by Stephen Hess <[email protected]>
added scoring support

22897c3f8c310ac2d6a15cc0aae520350b06372c authored over 8 years ago by Stephen Hess <[email protected]>
Merge pull request #44 from pelias/update_travis_node_versions

Update travis node versions

3615ac14fb53c8029366a7ca3fab55f9ae721a3a authored over 8 years ago by Julian Simioni <[email protected]>
Require Node.js v6 tests to pass

20a419024adecc3aeeca9086d7e3c5d71ef24eed authored over 8 years ago by Julian Simioni <[email protected]>
Remove Node.js v5 from TravisCI

761c6ae6f48bbc1130d2794366169dae3d3729b5 authored over 8 years ago by Julian Simioni <[email protected]>
Merge pull request #43 from pelias/fix-dependecy

Fix broken tests due to dependency missing in country match

48b23924a1990ff1ad4cd45b490e62372c20d79f authored over 8 years ago by Diana Shkolnikov <[email protected]>
Fix broken tests due to dependency missing in country match

Refactored to avoid such errors in the future due to having
to update too many places where code...

c58353e89403320e64af099402c38be2580746c6 authored over 8 years ago by Diana Shkolnikov <[email protected]>
feat: Merge pull request #41 from pelias/add-dependency-support

Add dependency support

7ea4c95ad1cdd7332fcdca319113b3654a435aad authored over 8 years ago by Julian Simioni <[email protected]>
Merge pull request #40 from pelias/add-county-spuport

added support for counties, no semantic releasing since #41 will do that

82b598f71dd84e212a40506a866d24e980e93322 authored over 8 years ago by Stephen K Hess <[email protected]>
added `dependency` support for GeodisambiguationQuery

also refactored `if/then` into more node-y `find`

54c8bfa19124f059dfde57ccbde3c9e0df8d7a95 authored over 8 years ago by Stephen Hess <[email protected]>
treat `dependency` as a synonym of `country` for fallback

libpostal identifies dependencies as countries, for example:

```
> san juan, pr

Result:

{
"...

415da8a63aff3225b7d045bf0737a82eb504e5c0 authored over 8 years ago by Stephen Hess <[email protected]>
added support for counties

6bbbe586d92d66e4970637956ac48b73e17de21f authored over 8 years ago by Stephen Hess <[email protected]>
Merge pull request #39 from pelias/category-filter

feat: Add the ability to construct category term filters

b777e9aa5e1a61d819e00a5f3e4853568067d2ee authored over 8 years ago by Diana Shkolnikov <[email protected]>
feat: Add the ability to construct category term filters

78a83050c25d87429eac2c0d553f84c5edd02e0b authored over 8 years ago by Diana Shkolnikov <[email protected]>
Merge pull request #24 from pelias/category-filter

feat: Adding the ability to construct category term filters to be added to queries.

c942f47fe332c9becd92c41474ad208921446b13 authored over 8 years ago by Diana Shkolnikov <[email protected]>
Revert back to just returning the object

cd5955bac30ee72553fee6ccab5abdb8fa0769fc authored over 8 years ago by Diana Shkolnikov <[email protected]>
Revert back to just returning the object

29d767fb674bc603da19c484c149c2e951f56853 authored over 8 years ago by Diana Shkolnikov <[email protected]>
Rename category to categories, add more tests, cleanup.

a20e96fcef8ad7d0ff260a0a189904fd5f7f8d86 authored over 8 years ago by Diana Shkolnikov <[email protected]>
Get value so it's not cast to a string later on

0f235f9f157bb00d735e0e5bf6b3a39dc556c786 authored over 8 years ago by Thierry Jossermoz <[email protected]>
Category filter with unit tests

0ac0d8ce4da6722d9d0d60f1c8b3dab3356629ce authored over 8 years ago by Thierry Jossermoz <[email protected]>
Remove redundant version specifier

754d9851fe15fa7e51bab4902f70f09603c8c88d authored over 8 years ago by Julian Simioni <[email protected]>
Add placeholder package version

We are using [semantic release](https://github.com/semantic-release/semantic-release)
to manage ...

cfa320268b4cdce500b031cf8093791dc6219566 authored over 8 years ago by Julian Simioni <[email protected]>
feat: added queries for libpostal support

dd39b21b3adef828bf2237fefa19c9e8d8aa44da authored over 8 years ago by Stephen K Hess <[email protected]>
Merge pull request #27 from pelias/add-unfiltered-boolean-query

Add queries for libpostal support

8bd8714e170ba3aaa085b3c0b50612b29b559b11 authored over 8 years ago by Stephen K Hess <[email protected]>
added `_name` to parts of FallbackQuery

by naming the fallback subqueries, it will be easier to trim by granularity in, uh, API's `trimB...

ebc55490000e8007a2983fce555d09b133ccd0c7 authored over 8 years ago by Stephen Hess <[email protected]>
moved `layer` querying to filter

this is for non-scoring, hopefully performance improvements, and clarifies what we're trying to do

55d85aaf39c4f70dff295b1cf7f114bb69bed829 authored over 8 years ago by Stephen Hess <[email protected]>
converted `layer` query to `filter`

89b63f1fb00093291d325d260e4b71bf147278e4 authored over 8 years ago by Stephen Hess <[email protected]>
added `type` to multi_match, removed single quotes from keys

15dd5f6aee2db866d5cc4f2f527428a959ef0e9d authored over 8 years ago by Stephen Hess <[email protected]>
added `parent.` prefix to `multi_match` fields for ES 2.3

1ab3e13b50074dcd138715ee94d040e732580be8 authored over 8 years ago by Stephen Hess <[email protected]>
fix: Merge pull request #31 from pelias/fix-missing-export

Add a require statement for layers

eec25c26e6593cd1d333c739add4630a597e947c authored over 8 years ago by Julian Simioni <[email protected]>
adding support for analyzed query term

This change prioritizes the analyzed query term over the housenumber+street so that in the case ...

de9ae50d77ebe170abd4affc00e930d7766bb831 authored over 8 years ago by Stephen Hess <[email protected]>
Add a require statement for layers

c2ae9ee15872bde3b3d9fcdd4c03786bd3473306 authored over 8 years ago by Alec Vulfson <[email protected]>
fix: Merge pull request #30 from pelias/fix_title

Fix readme title

2f1d09a1315234d67a6e3623dde9bfb33b1de0e7 authored over 8 years ago by Julian Simioni <[email protected]>
fix: Merge pull request #29 from pelias/remove_node_0.10

Remove Node 0.10 from Travis runs

fa777ce84f9275126e06d6cef55f4b5f546c7b80 authored over 8 years ago by Julian Simioni <[email protected]>
Fix readme title

I messed this up somehow :P

69c38d8c7a5bc651447b8fe513fd0a7ce10bda16 authored over 8 years ago by Julian Simioni <[email protected]>
Remove Node 0.10 from Travis runs

It's been mostly depricated in our importers, so we can start removing
it elsewhere.

05e43fb4282127f02234e3c4921cec8740c1eda2 authored over 8 years ago by Julian Simioni <[email protected]>
feat: Merge pull request #28 from pelias/layers-query

Add layers query

bc86615586bd831cc975e625075ebfc00c64230b authored over 8 years ago by Julian Simioni <[email protected]>
Add layers view

372a08135ae353bbb13406d7d4bc7a4f51e8117c authored over 8 years ago by Alec Vulfson <[email protected]>
Use terms view in sources view

afe24d2eb192bccae8898e644526c4b58efa9bf4 authored over 8 years ago by Alec Vulfson <[email protected]>
Add terms view

07a7498632f8b334ef5fe18406c51247f48eafde authored over 8 years ago by Alec Vulfson <[email protected]>
added deep-diff dev dependency for tests

db8ec7c5f0e5194d7a880524975285224a19b664 authored over 8 years ago by Stephen Hess <[email protected]>
added 2 new Query module tests

2894d0e2c9dfb98bc60fcb045f54610327f4a1b5 authored over 8 years ago by Stephen Hess <[email protected]>
exposed 2 additional Query modules

76691a246d17b112cd32f6d206509d9c188bf934 authored over 8 years ago by Stephen Hess <[email protected]>
added lots of comments for illustration

2684d7840e3eeea81ed3ceae92421cb654e3993e authored over 8 years ago by Stephen Hess <[email protected]>
feat: Merge pull request #17 from pelias/elasticsearch2

BREAKING CHANGE: Elasticsearch 2.x is now required

remove references to deprecated property _cache

627d3714760786ce8b60b8919edb2e18256af414 authored over 8 years ago by Julian Simioni <[email protected]>
query changes for ES2

7dc870dbf7623380db05d311d7f0a4cdd873f62b authored over 8 years ago by missinglink <[email protected]>
_cache property deprecated in ES2

0b97fdfa3c217143f6b65f35b511aaff9bf7381e authored over 8 years ago by missinglink <[email protected]>
modifed to match ideal behavior, not actual behavior

0509932c747fa1e19a6e9f667e46d03ca3fa1c13 authored over 8 years ago by Stephen Hess <[email protected]>
modified GeodisambiguationQuery to function ideally

instead of futzing with the code to make it work with the data as-is, this code works as ideal a...

4b5500ea262a52d11d264e499539cf3ce10e1788 authored over 8 years ago by Stephen Hess <[email protected]>
renamed CoarseBooleanQuery to GeodisambiguationQuery

1342d403902e979b6087c3f61f3caba26d0b9861 authored over 8 years ago by Stephen Hess <[email protected]>
renamed ScoredBooleanQuery to FallbackQuery

96d2dcba57a193e7786e2c2c83f6fe60fa911408 authored over 8 years ago by Stephen Hess <[email protected]>
added housenumber/street support

0d585a02f423ec96d9c283ec8b487b805be40675 authored over 8 years ago by Stephen Hess <[email protected]>
remove references to deprecated property _cache

39980f4cdc7dbe01a94d9792c20a9307f0942885 authored over 8 years ago by Peter Johnson <[email protected]>
refactor boolean query filtering as per: https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking_20_query_dsl_changes.html#_literal_filtered_literal_query_and_literal_query_literal_filter_deprecated

eac85076d8da40e7240ac1c8211ea06b19fc0cbf authored over 8 years ago by Peter Johnson <[email protected]>
switched to `region` and `country`

b884a6fd460ef3ff11a13edeb9032a61d157c1c5 authored over 8 years ago by Stephen Hess <[email protected]>
Merge pull request #26 from pelias/update_readme

fix: Use standard README header

a7204c72565117bc2a8e68c6157e56793cbbcce5 authored over 8 years ago by Julian Simioni <[email protected]>
refactored for readability

fec15c2c7b538fba41a68c4890b337792e806df0 authored over 8 years ago by Stephen Hess <[email protected]>
switched from `name.default` to `phrase.default` for exact matches

b212faa39aab20e88e31c0a25271ae0f299fffdd authored over 8 years ago by Stephen Hess <[email protected]>
added `match_phrase` on `name.default` for better matches

f9c17d14ac30181ff4dc4b5706229a684fd76ab8 authored over 8 years ago by Stephen Hess <[email protected]>
fixed `locality` lookup

b55c1f941b4137c2f2bb8979d58050fa1aae8f2c authored over 8 years ago by Stephen Hess <[email protected]>
added Query that resolves geoambiguities

Since libpostal only returns 1 result for an input, there are instances when that 1 result needs...

616e2dacafed7e53e5bd217f55e67b775aae172d authored over 8 years ago by Stephen Hess <[email protected]>
Add LGTM config

2d816f82483e8a1db0984769c0aad888bfbb4482 authored over 8 years ago by Julian Simioni <[email protected]>
fix: Use standard README header

Also moves the Travis badge to the top.

91385258a622ed0be75a532566a6876d41c00434 authored over 8 years ago by Julian Simioni <[email protected]>
Merge pull request #25 from pelias/semver

Setup semantic-release support

417d471fec498cb6d78f49cf16625cbe8e678d0e authored over 8 years ago by Julian Simioni <[email protected]>
fix: github url in package.json

f0329b53a0ab6a53feaf62a0b30bbd7ca31024ca authored over 8 years ago by Diana Shkolnikov <[email protected]>
Use npm script to run travis checks

34f44c8dfcc2fc6144ab53aec84e5cfa123f1095 authored over 8 years ago by Diana Shkolnikov <[email protected]>
Use latest node feature release

b871ff1fe21dfbf19f4139400934c578589db84b authored over 8 years ago by Diana Shkolnikov <[email protected]>
Require all node version except 6 to pass

c4e33aa85a37343c6de4638746dfdd82c50b2fc6 authored over 8 years ago by Diana Shkolnikov <[email protected]>
Use travis fast_finish

2c62ce483fe989a68564a25c346e0bcf5988f331 authored over 8 years ago by Diana Shkolnikov <[email protected]>
Cache node_modules directory

1613c3e625c3bec3f5873771c57f7708294bf9be authored over 8 years ago by Diana Shkolnikov <[email protected]>
Turn off email notifications

7d25d414ea5753c978669a55ad642abdff15bbb6 authored over 8 years ago by Diana Shkolnikov <[email protected]>
Remove version from package.json

8435ee97663549dfa93eb5714bb76071c5921949 authored over 8 years ago by Diana Shkolnikov <[email protected]>
Use semantic-release

f35aef6039b6615be225702135f640f5a6268824 authored over 8 years ago by Diana Shkolnikov <[email protected]>
Merge pull request #23 from pelias/add-nocomma-to-lint

added `nocomma` to stop the bad

57ee4178ac0183d4632991f2f6996e836f4cdcc1 authored over 8 years ago by Stephen K Hess <[email protected]>
7.0.0

afacbabbd86397eb3115ceaf194946736aa26e37 authored over 8 years ago by Julian Simioni <[email protected]>
added `nocomma` to stop the bad

943b26642c1e8bd6958e65095a91c6e161f2ae95 authored over 8 years ago by Stephen Hess <[email protected]>
updated license to `MIT`

fd24d4fde98cde5631c2b9d5c521621d4c292be6 authored over 8 years ago by Stephen K Hess <[email protected]>
Merge pull request #21 from pelias/add-unit-tests-for-layout

Add unit tests for layout

6772ad87d5b0200567c9eda3659da37874a5b00b authored over 8 years ago by Stephen K Hess <[email protected]>
added pre-commit hooks, cleaned up dependencies

876fe461661dd4254844a71cea6b4fc569dee1d2 authored over 8 years ago by Stephen Hess <[email protected]>
fixed tests for 2 parameter constructor

2da2bed69d469fce04396ed473f0d6348c17e00d authored over 8 years ago by Stephen Hess <[email protected]>
Merge branch 'master' into add-unit-tests-for-layout

ab80cd2cd8b90bc19bf98746661f3683782e0a73 authored over 8 years ago by Stephen Hess <[email protected]>
Merge pull request #19 from pelias/add-unit-tests-for-views

added unit tests, fixed logic errors

791f0c2f3abd466a3e5acb48b3bb6b3343e5a0d4 authored over 8 years ago by Stephen K Hess <[email protected]>
Merge pull request #22 from pelias/multi_match_admin_parts_fix

Allow analyzer to be passed as parameter

0816397acdd33dd2ef424abe95ed0de63805273d authored over 8 years ago by Julian Simioni <[email protected]>
Allow analyzer to be passed as parameter

85b5fa110a8d9bc3e3a17e7ca532307c056ea540 authored over 8 years ago by Julian Simioni <[email protected]>
made lint happy

f10243f4e5bc78418bc27bc786d7ee58169a58fe authored over 8 years ago by Stephen Hess <[email protected]>
added FilteredBooleanQuery tests to the runner

f41921104452b0688bc36d430168e14e1d040a91 authored over 8 years ago by Stephen Hess <[email protected]>
added unit tests where there were none before

5d71c14c9cede7adc9f7c5d8ddea38b9a5d37063 authored over 8 years ago by Stephen Hess <[email protected]>
removed impossible condition

94d2dd61c4a0dcc4488d6e6ec040eb0d6cfd6026 authored over 8 years ago by Stephen Hess <[email protected]>
added lint, appeased the lint gods

44b56fbf5ea0886cc3374aafadd31e15b38277c7 authored over 8 years ago by Stephen Hess <[email protected]>
added unit tests, fixed logic errors

Added unit tests for all views, including negative tests.

Additionally, 3 views had logic error...

2f2bddbad0183abcebd476058fd206a5728d25e8 authored over 8 years ago by Stephen Hess <[email protected]>
Merge pull request #16 from pelias/greenkeeper-check-types-7.0.0

Update check-types to version 7.0.0 🚀

f8317200909e69b0e7a4ee3f91581e337f183800 authored over 8 years ago by Julian Simioni <[email protected]>
chore(package): update check-types to version 7.0.0

https://greenkeeper.io/

ccbe800edbfd4b0f2bbf7af344bdf7164bac091f authored over 8 years ago by greenkeeperio-bot <[email protected]>
Version 6.3.0

0104e037b23b70e1cd03eaf9a9b7df5fbcc7da4e authored over 8 years ago by Julian Simioni <[email protected]>