What is the correct FT.SEARCH syntax for the 5 nearest neighbours of a query vector?
- A '*=>[KNN 5 @vec $BLOB AS score]' with PARAMS BLOB <bytes> and DIALECT 2 (correct answer)
- B '@vec:[5]'
- C 'KNN 5 vec'
- D 'FT.KNN idx 5'
Shortcut: KNN queries use the =>[KNN k @field $param] syntax, require the vector passed as a binary parameter via PARAMS, and need DIALECT 2 or higher.