ctrager/budoco

Search Issues page which uses postgresql's full text search - special query operators don't seem to work right

Closed this issue · 9 comments

The "-" operator, to exclude, doesn't seem to be working.

Seems to work. 😄

Search for "dog"

Screenshot from 2020-12-05 16-28-33

Searching for dog, but NOT cat:
Screenshot from 2020-12-05 16-31-37

@ivangrek - I updated this issue showing how it doesn't work for me. But it does work for you?!?!! Could it be some sort of postgresql setting? I have no clue.

@ivangrek - I updated this issue showing how it doesn't work for me. But it does work for you?!?!! Could it be some sort of postgresql setting? I have no clue.

I am using UTF8 encoding for db.

I'm ignorant about encodings. I installed as shown in the readme and did nothing after that. Should I do something?

create database budoco with encoding 'UTF8';

I needed all the symbols.

Did you apply last changes?

I tried making the same edits in my master and my search still didn't work. Now I'm reading github docs to figure out how I can pull down your pull request locally to try it locally before I merge it. My git/github skills are rusty (not that they were ever that solid). Give me a few minutes.