missinglink
6711aa45e0
simplify pass 1
9 years ago
missinglink
3b4d566b11
add unit test
9 years ago
Diana Shkolnikov
df93be7543
Fix deduping for non-ascii strings
9 years ago
Peter Johnson
db5a78623a
disable viewport scale
9 years ago
Peter Johnson
f1ead56e60
disable viewport scale
9 years ago
Diana Shkolnikov
9fa5fc5a77
calcSize became middleware (exposed and fixed bug in query defaults)
9 years ago
Diana Shkolnikov
42d940f8c8
Add simple normalizer (lowercase + remove punctuation)
9 years ago
Diana Shkolnikov
54187dde67
Add dedupe middleware
...
Dedupe middleware removes __exact__ dupes and truncates the results
to the specified size.
9 years ago
Diana Shkolnikov
500835a4c1
Update addressit module to not strip 0s from zipcodes
9 years ago
Stephen Hess
d732021d5e
fixed tests
9 years ago
Peter Johnson
8ceac4cbb0
change modifier function from sqrt() to log1p() and adjust max_boost
9 years ago
Peter Johnson
2ce249ad30
adjust balance between population/popularity and focus
9 years ago
Peter Johnson
481a65a4f9
population twice as important as popularity
9 years ago
Peter Johnson
cb679888ff
better population and popularity boosting
9 years ago
Peter Johnson
56591abe97
remove all references to tiebreaking groovy scripts
9 years ago
Stephen Hess
dcadc7832e
add focus:scale to /search requests with just viewport.*, calculated from bounding box diagonal, minimum of 1
9 years ago
Julian Simioni
57fb960471
Set centerpoint of viewport in search query
...
This simply reuses the focus:point:{lat|lon} variables, but sets them
using the centerpoint of the viewport. Eventually we should calculate a
radius and use that here.
9 years ago
Peter Johnson
87ce3bd92e
flip lon values for boundary.rect
9 years ago
Diana Shkolnikov
62315a1775
Revert defaults.json change
9 years ago
Peter Johnson
80f419846d
admin boost for sqrt(popularity), autocomplete focus not restricted to phrase matches
9 years ago
Diana Shkolnikov
553f9780c5
Remove admin matching when address is not parsed
9 years ago
Julian Simioni
f3acf3b308
Check for numeric value of lat/lon to avoid null island bug
...
Using the check-types module, check that lat/lon values are numbers,
instead of checking their truthyness, to ensure that queries for null
island work correctly.
9 years ago
Stephen Hess
13635a2c16
added boundary.country to search and reverse queries (with test fixtures)
9 years ago
Stephen Hess
a4c43ee482
added fixture for boundary.country in query building
9 years ago
Diana Shkolnikov
feb1b0a6cd
Update /reverse endpoint params and query as per API spec
9 years ago
Peter Johnson
fa209c9b50
add autocomplete route, further query clean up
9 years ago
Peter Johnson
2f8169ac10
remove unused sort conditions
9 years ago
Peter Johnson
1f13bafab0
refactor reverse & tests
9 years ago
Peter Johnson
f5e182c63b
fix tests, clean by moving fixtures to fixtures dir
9 years ago