Compare commits

...

2 Commits

2 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@ export interface IndexConfig {
type?: 'fulltext' | 'btree' | 'hash' | 'spatial';
parser?: 'ngram';
tsConfig?: string | string[];
chineseParser?: string;
}
export interface Index<SH extends EntityShape> {
name: string;

View File

@ -16,6 +16,7 @@ export interface IndexConfig {
type?: 'fulltext'|'btree'|'hash'|'spatial';
parser?: 'ngram'; // MySQL使用paser作为分词器配置
tsConfig?: string | string[]; // Postgres中可以自己指定一个或者多个
chineseParser?: string; // Postgres中使用中文分词器时指定例如'zhparser'
}
export interface Index<SH extends EntityShape> {