| От | Tom Lane |
|---|---|
| Тема | Re: pg_trgm vs. Solr ngram |
| Дата | |
| Msg-id | 4016890.1676006026@sss.pgh.pa.us обсуждение |
| Ответ на | pg_trgm vs. Solr ngram (Chris <rc@networkz.ch>) |
| Список | pgsql-general |
Chris <rc@networkz.ch> writes:
> Or maybe hacking my own pg_trgm wouldn't be so hard and could be fun, do
> I pretty much just need to change the emitted tokens or will this lead
> to significant complications in the operators, indexes etc.?
See KEEPONLYALNUM in pg_trgm/trgm.h ...
Now, using a custom-modified pg_trgm module in production is likely
not something you want to do for long. It might be interesting to
look into whether the relatively-recently-invented "operator class
parameter" mechanism could be exploited to allow this behavior to be
customized without hacking C code.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера