12462: Fix full-text search for terms like "foo.bar".
authorTom Clegg <tclegg@veritasgenetics.com>
Fri, 20 Oct 2017 17:59:45 +0000 (13:59 -0400)
committerTom Clegg <tclegg@veritasgenetics.com>
Fri, 20 Oct 2017 17:59:45 +0000 (13:59 -0400)
commitec253d9fd7debdc035fd5fa0cf721c9f9d87115f
tree71c6a3e8726d181a2641b430992cffe7fdb33433
parentb25f2bdceae4750c8c803853874227dc2d175767
12462: Fix full-text search for terms like "foo.bar".

A search for a filename like "foo.bar" should match text "foo.bar" --
but "foo.bar" was transformed to "foo:* & bar:*", and since "." is a
word character, "bar:*" did not match "foo.bar".

Now "foo.bar" is transformed to "foo.bar:*".

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>
apps/workbench/app/assets/javascripts/to_tsquery.js