Vector search on relationships

Is there a way to index/perform vector search on relationships?