SearchRequest is the Spring AI request object used to configure vector-store similarity retrieval. In a document-questioning service, its query is the user’s question, while optional parameters restrict and tune the returned document chunks. section 4.4.1
Filtering game rules
GameRulesService injects a VectorStore and builds a SearchRequest from the player’s question, a normalized game title, a result limit, and a metadata filter before retrieving relevant rule chunks.
