Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions index_update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down
1 change: 0 additions & 1 deletion search/query/custom_payload.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,3 @@ func resolveFieldTypes(fields []string, m mapping.IndexMapping) map[string]strin
}
return types
}

2 changes: 1 addition & 1 deletion search/query/query_string_parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
Loading