Compare commits
2 Commits
df0449763c
...
aa8a45d147
| Author | SHA1 | Date |
|---|---|---|
|
|
aa8a45d147 | |
|
|
4d3001ea5a |
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Reference in New Issue