diff --git a/index_update_test.go b/index_update_test.go index a2b66f210..25a812be9 100644 --- a/index_update_test.go +++ b/index_update_test.go @@ -146,14 +146,14 @@ func TestCompareFieldMapping(t *testing.T) { Similarity: "dot_product", Dims: 128, VectorIndexOptimizedFor: "memory-efficient", - GPU: false, + GPU: false, }, updated: &mapping.FieldMapping{ Type: "vector", Similarity: "dot_product", Dims: 128, VectorIndexOptimizedFor: "memory-efficient", - GPU: true, + GPU: true, }, indexFieldInfo: nil, err: true, @@ -164,14 +164,14 @@ func TestCompareFieldMapping(t *testing.T) { Similarity: "dot_product", Dims: 128, VectorIndexOptimizedFor: "memory-efficient", - GPU: false, + GPU: false, }, updated: &mapping.FieldMapping{ Type: "vector_base64", Similarity: "dot_product", Dims: 128, VectorIndexOptimizedFor: "memory-efficient", - GPU: true, + GPU: true, }, indexFieldInfo: nil, err: true, diff --git a/search/query/custom_payload.go b/search/query/custom_payload.go index 91863df7d..e220061b5 100644 --- a/search/query/custom_payload.go +++ b/search/query/custom_payload.go @@ -94,4 +94,3 @@ func resolveFieldTypes(fields []string, m mapping.IndexMapping) map[string]strin } return types } - diff --git a/search/query/query_string_parser_test.go b/search/query/query_string_parser_test.go index 35003a4bb..1eae23634 100644 --- a/search/query/query_string_parser_test.go +++ b/search/query/query_string_parser_test.go @@ -962,7 +962,7 @@ func BenchmarkLexer_Parallel(b *testing.B) { var tokens []yySymType r := strings.NewReader(`+field4:"test phrase 1"`) l := getQueryStringLex(r) - + var lval yySymType rv := l.Lex(&lval)