如何在ServiceStack中使用Redis Client进行搜索?

时间:2012-12-17 19:49:39

标签: c# redis servicestack

使用ServiceStack的Redis C#客户端,有没有办法搜索存储的JSON对象内的值?

例如,我们有密钥:

urn:comment:1, urn:comment:2 etc and the corresponding values stored are:

"{Id:1, CommentText:"some text here that could be quite large..." ...} etc

用户可以输入一个字符串,并希望查看包含所输入字符串的所有Comment对象。

你是怎么做到的?

0 个答案:

没有答案
相关问题