Postgres 9.1 中的停用词列表

Pet*_*eth 7 postgresql

Postgres 在进行全文搜索时使用的停用词(忽略词)列表是什么?有没有办法我可以找到这个(通过运行查询或其他东西)?

所以你知道我在找什么,这里是 MySQL 的列表。我猜 Postgres 是类似的http://dev.mysql.com/doc/refman/5.5/en/fulltext-stopwords.html

Cas*_*der 8

看看:http : //www.postgresql.org/docs/9.1/static/textsearch-dictionaries.html#TEXTSEARCH-STOPWORDS

英文字典的停用词位置是:$SHAREDIR/tsearch_data/english.stop例如:/usr/share/postgresql/9.1/tsearch_data/english.stop

  • 您可以通过运行“pg_config --sharedir”找到共享目录 (2认同)