Cross-references in hybrid search (with multi-tenant object) resulting in error with Weaviate 1.20.0. See query:
{
Get {
Foo(
limit: 50
hybrid: {
query: "My text query"
vector: [
0.01990529354431224
// ...
]
alpha: 0.5
properties: ["text"]
fusionType: relativeScoreFusion
}
consistencyLevel: ONE
tenant: "..."
autocut: 1
) {
text
document_id
references {
... on Foo {
document_id
text
}
}
}
}
}
I am interested in retrieving attributes on cross-referenced object in the same class, within the same tenant. Please note: this is working perfectly when using nearVector
searches, as opposed to hybrid
.
Error Iām receiving:
hybrid search post-processing: resolve cross-refs: build reference cache: build request cache: fetch job list: index "foo": class Foo has multi-tenancy enabled, but request was without tenant
The query was generated using the Python v3 client. What am I doing wrong here?