"David E. Wheeler" <david(at)kineticode(dot)com> writes:> Is it possible to modify the default tsearch parser so that / doesn't get lexed as a "file" token?
There is zero, none, nada, provision for modifying the behavior of thedefault parser, other than by changing its compiled-in state transitiontables.
It doesn't help any that said tables are baroquely designed and utterlyundocumented.
IMO, sooner or later we need to trash that code and replace it withsomething a bit more modification-friendly.
regards, tom lane