Skip to content

Commit bf6b7f2

Browse files
committed
naming
1 parent 6b9f557 commit bf6b7f2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

server/src/internalClusterTest/java/org/elasticsearch/indices/TestSystemIndexDescriptor.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public static String getOldMappings() {
100100
return getOldMappings(false);
101101
}
102102

103-
public static String getOldMappings(boolean expandVectorDefault) {
103+
public static String getOldMappings(boolean includeVectorDims) {
104104
try {
105105
final XContentBuilder builder = jsonBuilder();
106106

@@ -119,7 +119,7 @@ public static String getOldMappings(boolean expandVectorDefault) {
119119

120120
builder.startObject("vector");
121121
builder.field("type", "dense_vector");
122-
if (expandVectorDefault) {
122+
if (includeVectorDims) {
123123
builder.field("dims", 3);
124124
}
125125
builder.field("index", true);
@@ -143,7 +143,7 @@ public static String getNewMappings() {
143143
return getNewMappings(false);
144144
}
145145

146-
public static String getNewMappings(boolean expandDefault) {
146+
public static String getNewMappings(boolean includeVectorDims) {
147147
try {
148148
final XContentBuilder builder = jsonBuilder();
149149

@@ -165,7 +165,7 @@ public static String getNewMappings(boolean expandDefault) {
165165

166166
builder.startObject("vector");
167167
builder.field("type", "dense_vector");
168-
if (expandDefault) {
168+
if (includeVectorDims) {
169169
builder.field("dims", 3);
170170
}
171171
builder.field("index", true);

0 commit comments

Comments
 (0)