Searching in values of a redis db

前端 未结 2 392
忘了有多久
忘了有多久 2020-12-09 09:28

I am a novice in using Redis DB. After reading some of the documentation and looking into some of the examples on the Internet and also scanning stackoverflow.com, I can see

2条回答
  •  旧时难觅i
    2020-12-09 10:24

    redis is awesome, but it's not built for searching on anything other than keys. You simply cant query on values without building extra data sets to store items to facilitate such querying, but even then you don't get true search, just more maintenance, inefficient use of memory, yada, yada...

    This question has already been addressed, you've got some reading to do :-D

    To search strings, build auto-complete in redis and other cool things...
    How do I search strings in redis?

    Why using MongoDB over redis is smart when searching inside documents... What's the most efficient document-oriented database engine to store thousands of medium sized documents?

提交回复
热议问题