api icon indicating copy to clipboard operation
api copied to clipboard

search_with_ids controller being used when placeholder has not been called

Open missinglink opened this issue 6 years ago • 1 comments

@orangejulius I noticed this today when querying: /v1/search?debug=true&text=10 main st 10010

The first query in the debug output is controller:search_with_ids, I thought that was only relevant when ids had been returned from placeholder?

In this case, the placeholder service hasn't been called.

The query actually returns decent results, so maybe it's just a logging error?

missinglink avatar May 01 '19 10:05 missinglink

Huh, interesting. The query itself definitely contains no WOF ids, but it does contain a postalcode. That must be enough for it to trigger. And a postalcode is an ID, in a sense. I agree it's weird though.

orangejulius avatar May 01 '19 12:05 orangejulius