Sign inSign up

symbolspace/zhparser

By symbolspace

Updated about 5 years ago

postgres full text search zhparser, from postgis

Image
1

1.4K

symbolspace/zhparser repository overview

zhparser

postgres full text search

  • postgres : from symbolspace/postgis ( v12)
  • zhparser

Create Extension

CREATE EXTENSION zhparser;
CREATE TEXT SEARCH CONFIGURATION chinese_zh (PARSER = zhparser);
ALTER TEXT SEARCH CONFIGURATION chinese_zh ADD MAPPING FOR n,v,a,i,e,l WITH simple;

config descriptions:

  • "chinese_zh" is a custom name, change to what you like.
  • "n,v,a,i,e,l,t" is the token types, unmapped token types would not be used for document tockenize. Use \dFp+ zhparser to list all token types zhparser populates.

from https://github.com/chen-xin/docker_zhparser

Tag summary

Content type

Image

Digest

Size

181.8 MB

Last updated

about 5 years ago

docker pull symbolspace/zhparser