Skip to content

Latest commit

 

History

History
30 lines (26 loc) · 1.02 KB

README.md

File metadata and controls

30 lines (26 loc) · 1.02 KB

zhparser

postgres full text search

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

components

version

12.8

  • from symbolspace/postgis:12.8
  • docker image : symbolspace/zhparser:12¡¢symbolspace/zhparser:12.8

13.4(latest)

  • from symbolspace/postgis:13.4
  • docker image : symbolspace/zhparser:13¡¢symbolspace/zhparser:13.4¡¢13¡¢symbolspace/zhparser:latest

14 beta3

  • from symbolspace/postgis:14beta3
  • docker image : symbolspace/zhparser:14¡¢symbolspace/zhparser:14beta3