Skip to content

Commit 3b3ec37

Browse files
committed
indentation fix
1 parent cd6a586 commit 3b3ec37

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

source/includes/indexes/indexes.php

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -79,24 +79,24 @@
7979

8080
// start-create-multiple-indexes
8181
$indexNames = $collection->createSearchIndexes(
82-
[
83-
[
84-
'name' => 'SearchIdx',
85-
'definition' => ['mappings' => ['dynamic' => true]],
86-
],
87-
[
88-
'name' => 'VSidx',
89-
'type' => 'vectorSearch',
90-
'definition' => [
91-
'fields' => [[
92-
'type' => 'vector',
93-
'path' => 'plot_embedding',
94-
'numDimensions' => 1536,
95-
'similarity' => 'dotProduct'
96-
]]
97-
],
98-
],
99-
]
82+
[
83+
[
84+
'name' => 'SearchIdx',
85+
'definition' => ['mappings' => ['dynamic' => true]],
86+
],
87+
[
88+
'name' => 'VSidx',
89+
'type' => 'vectorSearch',
90+
'definition' => [
91+
'fields' => [[
92+
'type' => 'vector',
93+
'path' => 'plot_embedding',
94+
'numDimensions' => 1536,
95+
'similarity' => 'dotProduct'
96+
]]
97+
],
98+
],
99+
]
100100
);
101101
// end-create-multiple-indexes
102102

0 commit comments

Comments
 (0)