@@ -149,7 +149,7 @@ func (fm *FieldMapping) processVector(propertyMightBeVector interface{},
149149 fieldName := getFieldName (pathString , path , fm )
150150 options := fm .Options ()
151151 field := document .NewVectorFieldWithIndexingOptions (fieldName , indexes , vector ,
152- fm .Dims , fm .Similarity , fm .VectorIndexOptimizedFor , fm . GPU , options )
152+ fm .Dims , fm .Similarity , fm .VectorIndexOptimizedFor , options )
153153 context .doc .AddField (field )
154154
155155 // "_all" composite field is not applicable for vector field
@@ -176,7 +176,7 @@ func (fm *FieldMapping) processVectorBase64(propertyMightBeVectorBase64 interfac
176176 fieldName := getFieldName (pathString , path , fm )
177177 options := fm .Options ()
178178 field := document .NewVectorFieldWithIndexingOptions (fieldName , indexes , decodedVector ,
179- fm .Dims , fm .Similarity , fm .VectorIndexOptimizedFor , fm . GPU , options )
179+ fm .Dims , fm .Similarity , fm .VectorIndexOptimizedFor , options )
180180 context .doc .AddField (field )
181181
182182 // "_all" composite field is not applicable for vector_base64 field
0 commit comments