Peter Johnson

Results 884 comments of Peter Johnson

I just wrote some unit tests to cover all the different autocomplete query permutations in https://github.com/pelias/api/pull/1240

This PR is so old now it's unlikely it can ever be merged, mainly because it uses the `addressit` parser which has long since been retired. It's a bit of...

I was sitting with someone recently who was new to Pelias, they were using React, which requires [a unique key to render a list of items](https://reactjs.org/docs/lists-and-keys.html#keys) (so it can correctly...

Looking at [the code](https://github.com/pelias/query/blob/master/layout/StructuredFallbackQuery.js) it seems that we have something to handle this but it's only applied to addresses and not to records which do not have a `street` and...

Heya, As discussed on our call, I am fine with adding a bunch of debugging tools *but* we'd like to keep them under a common path prefix (ie. all under...

duplicate of https://github.com/pelias/api/pull/1472

Wow ok, problem with using `_doc` instead is it changes between builds.

I'd be interested to know which query caused that, I assumed sort was *after* hits are pruned

Or at least the second sort criteria was only a secondary sorting based on the top $size hits of the first criteria

> CircuitBreakingException https://gitlab.com/crossref/event_data_query/-/issues/33