Stephen Hess
c257eb5fc3
added tests for new queries
...
left in place but commented out tests that will be supported when boundary, focus, and sources/layers issues are resolved.
8 years ago
Stephen Hess
f55aed2b1a
finished master rebase, checking in all-but-tests commit
...
rebase ended up being more complicated than was expected so i'm breaking this into a few commits
8 years ago
Stephen Hess
7495cad465
added middleware component to trim by result granularity
...
purpose in comments, cleans up from overly-verbose FallbackQuery
8 years ago
Stephen Hess
d3febe49cc
moved location of `matched_queries` to correct place
8 years ago
Stephen Hess
5821ae6e81
libpostal changes
...
- updated for libpostal interface
- added tests for text_parser
8 years ago
Stephen Hess
c18baaf775
fixed text analysis tests
...
proxyquire is now used because the text_analyzer package requires node_postal which isn't guaranteed to be available
8 years ago
Stephen Hess
8d532adb3f
added support for `_matched_queries` in ES hits
...
this will make it easier to sort thru results from FallbackQuery by knowing which query was called
8 years ago
Stephen Hess
5f259d420b
updated text-analyzer version, removed unused module
8 years ago
Stephen Hess
c7e5ba2e2a
added postprocessing step to trim by granularity
8 years ago
Stephen Hess
b1cf06720b
included generatePermutations in list of tests
8 years ago
Stephen Hess
abef8f1efa
initial stab at generatePermutations
8 years ago
Peter Johnson
a20c84fa83
update ciao tests to reflect updated error messages
8 years ago
Julian Simioni
b0c0a5fe5c
Add venues to Who's on First
8 years ago
Patrick Mezard
50475c616b
test/ciao: reverse learnt to handle circle at some point
...
So fix the test pretending it does not.
8 years ago
Patrick Mezard
0f0cfd16d9
test/ciao: fix inverted negative latitudes in tests
...
See https://github.com/elastic/elasticsearch/issues/18458
8 years ago
Patrick Mezard
e53fcbc9d7
test/ciao: update valid layers list in reference output
8 years ago
Stephen Hess
29c1255694
added `dependency` fields to output
8 years ago
Alec Vulfson
a6ccbf17ce
Add provinces to Australian labels
8 years ago
Julian Simioni
c5e5bbcf56
Add boundary.country filter to /v1/autocomplete
9 years ago
Stephen Hess
1b83247964
exclude `name` for `country` result labels
9 years ago
Stephen Hess
8c12452fff
added hardcoded values in tests where text-analyzer was being used before
9 years ago
Diana Shkolnikov
b0aab1afd3
Fixed broken test due to rebase with changes from master.
9 years ago
Diana Shkolnikov
c38b67aeb4
Add nearby sanitizer and revert reverse to not have categories
9 years ago
Diana Shkolnikov
cc9c4148bb
Refactor geojsonify code and add ability to pass in clean query params
9 years ago
Diana Shkolnikov
1df1a0765c
Add categories filter to search query
9 years ago
Diana Shkolnikov
07c637f5a6
Include a new pelias-categories module for category validation
9 years ago
Diana Shkolnikov
269733b70c
Add type property to allow proper handling of arrays
9 years ago
Diana Shkolnikov
68c6b15e0f
Add categories sanitizer to reverse
9 years ago
Diana Shkolnikov
818711f509
Add categories sanitizer to search
9 years ago
Diana Shkolnikov
24c7370ce7
Add categories sanitizer to autocomplete
9 years ago
Diana Shkolnikov
1c6436d123
Update categories sanitizer and implement unit tests for it
9 years ago
avulfson17
c5d2817ab4
update test name
9 years ago
Alec Vulfson
254b7ff66b
Updated warning for boundary.circle
9 years ago
Julian Simioni
76e54bf7d3
Update test expectations to be better!
...
addressit can now detect that "new york" the state should be abbreviated
"NY".
9 years ago
avulfson17
61ac4a99c1
add test for borough in geonames
9 years ago
Peter Johnson
7f18561595
remove focus.viewport API
9 years ago
Peter Johnson
39e3156019
typo
9 years ago
Peter Johnson
c317d4f321
fix/improve coordinate wrapping function, added more tests
9 years ago
Peter Johnson
5b8a9a31d2
wrap coordinates at poles
9 years ago
Julian Simioni
8cae743c80
Handle empty country_a values as well
9 years ago
Julian Simioni
f18e278e51
Handle case where record has no region_ a field
9 years ago
Julian Simioni
aa7942cbb9
Set up layer filtering for autocomplete and reverse
...
This was missed by me when working on https://github.com/pelias/api/pull/580 , but caught by the acceptance tests!
Unfortunately it was caught after going to production.
9 years ago
Julian Simioni
b7288aca15
Update ciao test data script
9 years ago
Julian Simioni
2557c68368
Use index name from config in controllers
9 years ago
Julian Simioni
fabf978ec1
Whitespace
9 years ago
Alec Vulfson
31adf09870
Using new layers view to filter layers
9 years ago
Alec Vulfson
2092cf2e15
Shows county in label if there isnt a locality or local admin
9 years ago
Alec Vulfson
4dc0f90088
Allow shortened names of sources to be used in gid
9 years ago
Alec Vulfson
35e548ef15
Updating list of layers for Geonames
9 years ago
Peter Johnson
5964e57faa
change ngram analyzer used in /search to peliasQueryFullToken from peliasIndexOneEdgeGram. this will have a positive effect on performance due to less tokens being produced
9 years ago