feat: Add cosine similarity query #3464
75.30% of diff hit (target 78.51%)
View this Pull Request on Codecov
75.30% of diff hit (target 78.51%)
Annotations
Check warning on line 389 in internal/planner/select.go
codecov / codecov/patch
internal/planner/select.go#L389
Added line #L389 was not covered by tests
Check warning on line 416 in internal/planner/select.go
codecov / codecov/patch
internal/planner/select.go#L416
Added line #L416 was not covered by tests
Check warning on line 435 in internal/planner/select.go
codecov / codecov/patch
internal/planner/select.go#L435
Added line #L435 was not covered by tests
Check warning on line 62 in internal/planner/similarity.go
codecov / codecov/patch
internal/planner/similarity.go#L62
Added line #L62 was not covered by tests
Check warning on line 76 in internal/planner/similarity.go
codecov / codecov/patch
internal/planner/similarity.go#L68-L76
Added lines #L68 - L76 were not covered by tests
Check warning on line 84 in internal/planner/similarity.go
codecov / codecov/patch
internal/planner/similarity.go#L83-L84
Added lines #L83 - L84 were not covered by tests
Check warning on line 92 in internal/planner/similarity.go
codecov / codecov/patch
internal/planner/similarity.go#L91-L92
Added lines #L91 - L92 were not covered by tests
Check warning on line 123 in internal/planner/similarity.go
codecov / codecov/patch
internal/planner/similarity.go#L122-L123
Added lines #L122 - L123 were not covered by tests
Check warning on line 130 in internal/planner/similarity.go
codecov / codecov/patch
internal/planner/similarity.go#L129-L130
Added lines #L129 - L130 were not covered by tests
Check warning on line 139 in internal/planner/similarity.go
codecov / codecov/patch
internal/planner/similarity.go#L138-L139
Added lines #L138 - L139 were not covered by tests
Check warning on line 172 in internal/planner/similarity.go
codecov / codecov/patch
internal/planner/similarity.go#L172
Added line #L172 was not covered by tests
Check warning on line 178 in internal/planner/similarity.go
codecov / codecov/patch
internal/planner/similarity.go#L177-L178
Added lines #L177 - L178 were not covered by tests
Check warning on line 186 in internal/planner/similarity.go
codecov / codecov/patch
internal/planner/similarity.go#L183-L186
Added lines #L183 - L186 were not covered by tests
Check warning on line 200 in internal/planner/similarity.go
codecov / codecov/patch
internal/planner/similarity.go#L189-L200
Added lines #L189 - L200 were not covered by tests
Check warning on line 203 in internal/planner/similarity.go
codecov / codecov/patch
internal/planner/similarity.go#L202-L203
Added lines #L202 - L203 were not covered by tests
Check warning on line 214 in internal/request/graphql/parser/request.go
codecov / codecov/patch
internal/request/graphql/parser/request.go#L213-L214
Added lines #L213 - L214 were not covered by tests
Check warning on line 152 in internal/request/graphql/schema/generate.go
codecov / codecov/patch
internal/request/graphql/schema/generate.go#L151-L152
Added lines #L151 - L152 were not covered by tests
Check warning on line 156 in internal/request/graphql/schema/generate.go
codecov / codecov/patch
internal/request/graphql/schema/generate.go#L155-L156
Added lines #L155 - L156 were not covered by tests
Check warning on line 886 in internal/request/graphql/schema/generate.go
codecov / codecov/patch
internal/request/graphql/schema/generate.go#L885-L886
Added lines #L885 - L886 were not covered by tests
Check warning on line 1416 in internal/request/graphql/schema/generate.go
codecov / codecov/patch
internal/request/graphql/schema/generate.go#L1415-L1416
Added lines #L1415 - L1416 were not covered by tests