Inject metadata into query search response

Signed-off-by: chatgris <julien.boyer@af83.com>