Diana Shkolnikov
cbf2d0ace5
fix broken ciao tests
8 years ago
Diana Shkolnikov
21fcd912c2
add match_type to the list of result properties
8 years ago
Diana Shkolnikov
d5ff072e9e
update tests
8 years ago
Diana Shkolnikov
3cd342f2e7
add new confidence score middleware to routes
8 years ago
Diana Shkolnikov
3888ae0385
change query module interfaces to allow for additional meta data
8 years ago
Diana Shkolnikov
fd3ec97ad0
add new confidence score computation for fallback query type
8 years ago
Diana Shkolnikov
9fd19242e7
make existing confidence score only handle the original query type
8 years ago
greenkeeperio-bot
da43bf4695
chore(package): update geojson to version 0.4.0
...
https://greenkeeper.io/
8 years ago
Stephen Hess
24d81b754f
updated fixtures for latest query
8 years ago
Stephen K Hess
e1e95f0945
Merge pull request #666 from pelias/only-allow-queries-with-addresses
...
limited fallbackQuery usage to analysis with `street`
8 years ago
Stephen K Hess
ba9fc0abeb
Merge pull request #668 from pelias/add-street-to-trim-by-granularity
...
Add street to trim by granularity
8 years ago
Stephen Hess
80e9fc06e4
trigger rebuild
8 years ago
Stephen Hess
5790026add
trigger rebuild
8 years ago
Stephen Hess
df2ac8c91b
added `street` to trimByGranularity
8 years ago
Stephen Hess
cf1aeec4e1
fixed tests for latest query changes
8 years ago
Julian Simioni
11c3388b57
Add readme note about Node 4
8 years ago
Julian Simioni
b379af5969
Remove Node.js 0.12 from TravisCI versions
8 years ago
Julian Simioni
3df810e4c6
Require Node.js 4.0 or greater
8 years ago
Stephen Hess
d4ed96de0c
added explicit `return undefined` + comments
8 years ago
Stephen Hess
c841ed8121
limited fallbackQuery usage to analysis with `street`
8 years ago
Stephen Hess
768843b0fb
delete `clean.parsed_text` if falling back to addressit
8 years ago
Stephen Hess
cc5c9f8468
disable calling GeodisambiguationQuery
8 years ago
Stephen Hess
06310bd3b7
only initialize req.clean/errors/warnings if not initialized yet
...
also added tests for sanitizeAll
8 years ago
Stephen Hess
f11bdfbfbb
removed unused dependency
8 years ago
Stephen Hess
b774cc617c
fixed spelling error
8 years ago
Stephen Hess
15b7c3fa57
uncommented tests
8 years ago
Stephen Hess
8072c73d42
removed unused dependency
8 years ago
Stephen Hess
6f4ec874fe
added special override condition for libpostal query/housenumber mixup
8 years ago
Stephen Hess
d5e993fc11
included `localadmin`, `macrocounty`, `macroregion`, and `dependency`
8 years ago
Stephen Hess
5178dc1cc9
added `trimByGranularity` to tests-to-run
8 years ago
Stephen Hess
681d689f51
fixed test names
8 years ago
Stephen Hess
9f350eb117
updated tests to reflect changes to query module
8 years ago
Diana Shkolnikov
e33c58bd42
Remove empty arrays from ES fixture
8 years ago
Diana Shkolnikov
d8e0b01358
Cleanup a few small things
8 years ago
Diana Shkolnikov
efa0818ade
Rename isDiff* functions to be more intuitive
8 years ago
Diana Shkolnikov
6049772a5d
Fix require path
8 years ago
Diana Shkolnikov
a8e82b018d
Refactor deduper and write additional tests
8 years ago
Stephen Hess
8339a66e91
updated query module to branch from hashcode
...
fixed tests to use `boost_mode` value of `multiply` instead of `replace`
8 years ago
Stephen Hess
876782ed3a
enabled all scores and filters
...
adjusted tests to account for new querying strategies, renamed all existing test fixture files to `*_original`. pointed query module to a PR for testing.
8 years ago
Stephen Hess
d682468096
adapted tests to latest query module output
8 years ago
Stephen Hess
c8ba57f98b
added support for `dnt` flag when logging fallback query
8 years ago
Stephen Hess
ae37add82b
extracted variables to conform to convention
8 years ago
Stephen Hess
165f6eadf1
added logging in case where query required fallback
8 years ago
Stephen Hess
42affa80f8
updated filename
8 years ago
Stephen Hess
484af8c044
changed from `text_parser` to `text_parser_addressit`
...
this ensures that `clean.parsed_text` is correctly converted to query as expected
8 years ago
Stephen Hess
46d58cafb0
renamed `_text_autocomplete` to `_text_addressit`
8 years ago
Stephen Hess
ad5d2bf36a
add early exit condition to stop unneeded re-parsing
...
This is required in the case where the libpostal parse + ES search was successful (res.data is non-empty) so we want to skip falling back to the current production behavior.
8 years ago
Stephen Hess
8af8ba19f6
added call for fallback sanitiser middleware
8 years ago
Stephen Hess
40ed4e64c4
added new test
8 years ago
Stephen Hess
d8fb9323c2
added sanitiser wrapper for fallback to call addressit explicitly
8 years ago