jaiminpan/pg_jieba

分词粒度设置

Closed this issue · 1 comments

请问如何设置分词粒度为FullSegment,pg_jieba.sql里面只有两个parser,而且实现是一样的:

CREATE TEXT SEARCH PARSER jieba (
	START    = jieba_start,
	GETTOKEN = jieba_gettoken,
	END      = jieba_end,
	LEXTYPES = jieba_lextype,
	HEADLINE = pg_catalog.prsd_headline
);

CREATE TEXT SEARCH PARSER jiebaqry (
	START    = jieba_query_start,
	GETTOKEN = jieba_gettoken,
	END      = jieba_end,
	LEXTYPES = jieba_lextype,
	HEADLINE = pg_catalog.prsd_headline
);

目前还不支持。如果你有这方面需求,欢迎提交patch添加此功能配置。。。