Please do a quick search on GitHub issues first, there might be already a duplicate issue for the one you are about to create. If the bug is trivial, just go ahead and create the issue. Otherwise, please take a few moments and fill in the following sections:

Bug description Exact similarity match with Redis Vector Store always retuning empty list

Environment Spring AI version: 1.0.0-SNAPSHOT, Java version: 17, which vector store you use: Redis Vector Store

Steps to reproduce

FilterExpressionBuilder b = new FilterExpressionBuilder();
        SearchRequest searchRequest = SearchRequest
                .query("find by id").withFilterExpression(b.eq("id",303).build());
        List<Document> documents = vectorStore.similaritySearch(searchRequest);

Expected behavior vectorStore.similaritySearch should return one record

Comment From: markpollack

Is "find by id" something that is the document? I guess that is what you mean by 'exact match' in the issue title. We will investigate, however if you can you provide a more complete example that will help, showing the documents that were loaded into the vector store.