I searched for a TED Talk last night, the search looked like “title | author” (I copied the youtube caption exactly) and I got an error: Could not update headlines (invalid object received - see error console for details).
So I tried “1|2” and that did not error. So I tried “1 | 2” and that gave the error again (“1| 2” and “1 |2” also error). So it looks like the pipe character at the beginning or end of a token causes the error.
we don’t really support “A or B” searches so pipe should probably be filtered out entirely
either that or rework tokenization entirely which doesn’t sound like a lot of fun
e: idk how annoying would be to not do implicit &-concatenation on postgresql and force everyone to write search queries as “A & B & C” which would allow using |