Description
When executing the following command, I would assume the response would be 1 element with the amount of records, and then the rest being the ids of the matching records. I am instead getting a lot of extra nodes that just contain metadata that I do not care about(as seen in the attached picture). How can I only return the elements that I care about(like running the same command on cli would give me) and not extra metadata?
const auto query = buildQuery(payload);
boost::redis::request searchReq;
searchReq.push("FT.SEARCH", "idx", query, "NOCONTENT", "LIMIT", "0", "10000");
boost::redis::generic_response response;
co_await conn->async_exec(searchReq, response, boost::asio::deferred);
My usecase would most likely want me to return all of my columns(20) for each key as well which gives me around 1,600,000 nodes in my response for 34,000 matching keys where so many of them are just metadata. In production, I may have to match over 200,000 keys which would be a very large amount of data in memory and seems like I must be doing something really wrong. This might just be my lack of knowledge around redis. Is there a way to serialize this data into a vector of custom objects?
