I want to search in content use redis ,Is such a thing possible؟
for example :
class Post
{
public string Id { get; set; }
public string Content { get; set; }
public bool Deleted { get; set; }
}
I use c# and BookSleeve ,I want to search a word in "Content" property of post if the "Deleted" property of post is false, i can use HSET and serialize this object to store in redis or SADD or ...
1- What is the best way to store this object? 2- What is the best way to search and filter object for return?
[Update]
I can search in redis using SISMEMBER just for the exact word or phrase but i want to search value like KEYS pattern
[Update]
How do stackexchange whit redis?
[Update]
thanks a lot Marc Gravell , I found NEST for ElasticSearch. But I did not realize how the relation between Redis and ElasticSearch. I'll build a social network and would like to know whether you have some parts Redis and some parts of ElasticSearch should be used or a combination of them.what part of the project i use Redis and which parts ElasticSearch use and which parts should be combined use.
Thanks