Skip to content

Commit 9694abb

Browse files
committed
Add setExcludeFromIndexes back to vectorvalue builder
1 parent 62da35d commit 9694abb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

google-cloud-datastore/src/main/java/com/google/cloud/datastore/VectorValue.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ public static VectorValue of(List<Value<Double>> values) {
142142
/** Returns a builder for {@code VectorValue} objects. */
143143
public static Builder newBuilder() {
144144
Builder builder = new VectorValue.Builder();
145+
builder.setExcludeFromIndexes(true);
145146
builder.setMeaning(VECTOR_MEANING);
146147
return builder;
147148
}

0 commit comments

Comments
 (0)