[openstreetmap/openstreetmap-website] Note Search API can't find question marks (#1781)

Tom Hughes notifications at github.com
Sat Mar 10 07:38:32 UTC 2018


I doubt that's the problem at all - more like is just that the postgres freetext search can't that. In fact I cant prove that:

```
x=# select plainto_tsquery('english', '?');
NOTICE:  text-search query contains only stop words or doesn't contain lexemes, ignored
 plainto_tsquery 
-----------------
 
(1 row)
```

So I don't think there's much we can do unless we fundamentally change the search technology.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1781#issuecomment-372010434
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180310/de813c63/attachment.html>


More information about the rails-dev mailing list