We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3e1f68 commit 28c2a0fCopy full SHA for 28c2a0f
src/server/search/doc_accessors.cc
@@ -364,7 +364,10 @@ JsonAccessor::JsonPathContainer* JsonAccessor::GetPath(std::string_view field) c
364
}
365
366
if (!ptr) {
367
- LOG(WARNING) << "Invalid Json path: " << field << ' ' << ec_msg;
+ // This can occur for fields that are not actual JSON paths but are computed aliases
368
+ // (e.g., 'vector_distance' from a KNN search clause in FT.SEARCH RETURN).
369
+ // Such fields are valid for return but won't be found as paths in the document.
370
+ VLOG(1) << "Invalid Json path: " << field << ' ' << ec_msg;
371
return nullptr;
372
373
0 commit comments