简体   繁体   English

Postgresql在heroku上进行全文搜索

[英]Postgresql full-text-search on heroku

Hello I want to use full-text search using postrgresql but the problem on heroku, i can not think of a way to have custom dictionary using my language (Greek). 您好我想使用postrgresql使用全文搜索,但是heroku上的问题,我想不出有一种方法可以使用我的语言(希腊语)使用自定义词典。

on my pc I did 在我的电脑上我做到了

CREATE TEXT SEARCH DICTIONARY greek_ispell (
TEMPLATE = ispell,
DictFile = greek,
AffFile = greek,
StopWords = greek
);

and setup the sharedir using the custom dictionaries. 并使用自定义词典设置sharedir。 Is there a way to do this on heroku? 有没有办法在heroku上这样做?

尝试Texticle ,它是Postgres上的免费全文搜索(因此它适用于Heroku)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM