Could you clarify how the vector search mechanism determines relevance in the chunks of data? Specifically, what criteria are used during the search to match the user's query with the most appropriate chunk? This seems crucial for achieving accurate and context-aware responses.