|
49 | 49 | * indexOptions?: 'docs'|'freqs'|'positions'|'offsets',
|
50 | 50 | * store?: bool,
|
51 | 51 | * ignoreAbove?: int,
|
52 |
| - * multi?: array<string, array<mixed>>, |
| 52 | + * multi?: array<string, array<string, mixed>>, |
53 | 53 | * norms?: 'include'|'omit',
|
54 | 54 | * }
|
55 | 55 | * @link https://www.mongodb.com/docs/atlas/atlas-search/analyzers/character-filters/
|
|
77 | 77 | * } | array{
|
78 | 78 | * excludes: array<string>,
|
79 | 79 | * }
|
| 80 | + * @link https://www.mongodb.com/docs/atlas/atlas-search/synonyms/#std-label-synonyms-ref |
| 81 | + * @phpstan-type TypeSearchIndexSynonyms array{ |
| 82 | + * analyzer: string, |
| 83 | + * name: string, |
| 84 | + * source?: array{collection: string}, |
| 85 | + * } |
80 | 86 | * @link https://www.mongodb.com/docs/manual/reference/command/createSearchIndexes/#std-label-search-index-definition-create
|
81 | 87 | * @phpstan-type TypeSearchIndexDefinition array{
|
82 |
| - * analyser?: string, |
| 88 | + * analyzer?: string, |
83 | 89 | * analyzers?: TypeSearchIndexAnalyzer[],
|
84 | 90 | * searchAnalyzer?: string,
|
85 | 91 | * mappings: array{dynamic: true} | array{dynamic?: bool, fields: array<string, TypeSearchIndexField>},
|
86 | 92 | * storedSource?: TypeSearchIndexStoredSource,
|
| 93 | + * synonyms?: TypeSearchIndexSynonyms[], |
87 | 94 | * }
|
88 | 95 | * @link https://www.mongodb.com/docs/atlas/atlas-vector-search/vector-search-type/#atlas-vector-search-index-fields
|
89 | 96 | * @phpstan-type TypeVectorSearchIndexField array{
|
|
0 commit comments