Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


If there is real requirement from users to let search return vector in output, we can achieve this in SDK level.

Design Details

Query supporting vector field in output can be divided into 2 steps:

  1. in load segment stage, create VectorFieldInfo for vector fields, and save it into segment struct
  2. in the end of query stage, 
    1. load vector field's data if needed
    2. get vector data, fill in query result

  • Add new field VectorFieldInfo into segment struct to return vector field related information