| От | Tom Lane |
|---|---|
| Тема | Re: Need help with full text index configuration |
| Дата | |
| Msg-id | 22244.1280347610@sss.pgh.pa.us обсуждение |
| Ответ на | Need help with full text index configuration (Brian Hirt <bhirt@mobygames.com>) |
| Ответы |
Re: Need help with full text index configuration
|
| Список | pgsql-general |
Brian Hirt <bhirt@mobygames.com> writes:
> For example instead of the parser recognizing three asciiword it recognizes one asciiword and one file. I'd like a
wayto have the / just get parsed as blank.
AFAIK the only good way to do that is to write your own parser :-(.
The builtin parser isn't really configurable. (If you didn't mind
maintaining a private version you could patch its state transition
table manually, but that seems like a PITA.)
For the case at hand it could be a pretty thin frontend to the builtin
text parser --- just change / to space and then call the builtin one.
contrib/test_parser/ might help you get started.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера