{"id":1264,"date":"2021-07-30T14:29:44","date_gmt":"2021-07-30T06:29:44","guid":{"rendered":"https:\/\/egonlin.com\/?p=1264"},"modified":"2024-04-06T16:47:18","modified_gmt":"2024-04-06T08:47:18","slug":"%e7%ac%ac%e4%ba%94%e8%8a%82%ef%bc%9asortset%e6%9c%89%e5%ba%8f%e9%9b%86%e5%90%88","status":"publish","type":"post","link":"https:\/\/egonlin.com\/?p=1264","title":{"rendered":"\u7b2c\u4e94\u8282\uff1asortset\u6709\u5e8f\u96c6\u5408"},"content":{"rendered":"<h1>sortset\u6709\u5e8f\u96c6\u5408<\/h1>\n<h2>\u4e00\u3001\u7279\u70b9<\/h2>\n<pre><code class=\"language-bash\">key     value \nstu     100, 20, 10 \n        (ls, pwd, mkdir) \n         0    1     2 \n\nps\uff1a\u6709\u5e8f\u6570\u636e\u7c7b\u578b\u90fd\u6709\u4e0b\u6807\u7d22\u5f15<\/code><\/pre>\n<h2>\u4e8c\u3001\u5e94\u7528\u573a\u666f<\/h2>\n<pre><code class=\"language-bash\">\u6392\u884c\u699c\u5e94\u7528<\/code><\/pre>\n<h2>\u4e09\u3001\u4f7f\u7528<\/h2>\n<h3>1\u3001ZADD\uff1a\u6dfb\u52a0\u6570\u636e<\/h3>\n<pre><code class=\"language-bash\">127.0.0.1:6379&gt; ZADD myzety 1 one\n1\n127.0.0.1:6379&gt; ZADD myzety 2 two\n1\n127.0.0.1:6379&gt; ZADD myzety 20 twoth  #twenty,\u6253\u9519\u4e86\n1\n127.0.0.1:6379&gt; ZADD myzety 3 three\n1<\/code><\/pre>\n<h3>2\u3001\u67e5\u8be2\u6570\u636e<\/h3>\n<h4>1.ZRANGE\uff1a\u67e5\u770b\u6307\u5b9a\u533a\u95f4\u6570\u636e\u6570\u636e<\/h4>\n<p><\/p><div id=\"rml_readmorelogin_placeholder\" style=\"position:relative;\"><div id=\"rml_fade_content\" style=\"position: absolute;\r\ntop:-10em;\r\nwidth:100%;\r\nheight:10em;\r\nbackground: -webkit-linear-gradient(rgba(255, 255, 255, 0) 0%,#ffffff 100%);\r\nbackground-image: -moz-linear-gradient(rgba(255, 255, 255, 0) 0%,#ffffff 100%);\r\nbackground-image: -o-linear-gradient(rgba(255, 255, 255, 0) 0%,#ffffff 100%);\r\nbackground-image: linear-gradient(rgba(255, 255, 255, 0) 0%,#ffffff 100%);\r\nbackground-image: -ms-linear-gradient(rgba(255, 255, 255, 0) 0%,#ffffff 100%);\"><\/div><div class=\"wpf-controller aru_rml_from_in_post\" style=\"background-color:#eeeeee;border:5px solid #cce6ff;\" id=\"ARU_ReadMoreLogin_ReadMoreLoginController\"><h2 id=\"Header\">\u67e5\u770b\u66f4\u591a<\/h2><div id=\"Message\"><p>\u8054\u7cfb\u7ba1\u7406\u5458\u5fae\u4fe1tutu19192010\uff0c\u6ce8\u518c\u8d26\u53f7<\/p>\n<\/div><div id=\"StatusBarHeader\"><\/div><form id=\"ARU_ReadMoreLogin_ReadMoreLoginController\"><input name=\"post_id\" value=\"1264\" type=\"hidden\"\/><input name=\"_init_callback\" value=\"InitLogin\" type=\"hidden\"\/><input name=\"post_id\" value=\"1264\" type=\"hidden\"\/><input name=\"rt_ype\" value=\"1\" type=\"hidden\"\/><input name=\"nonce\" value=\"43142e9542\" type=\"hidden\"\/><input name=\"_wpnonce\" value=\"fe0b6c877b\" type=\"hidden\"\/><input name=\"_controller\" value=\"ARU_ReadMoreLogin\\ReadMoreLoginController\" type=\"hidden\"\/><input name=\"_proxy_controller\" value=\"ARU_ReadMoreLogin\\ReadMoreLoginController\" type=\"hidden\"\/><input name=\"_view\" value=\"ARU_ReadMoreLogin\\ReadMoreLoginView\" type=\"hidden\"\/><table class=\"wpf-table-placeholder\"><tbody class=\"wpf-table-placeholder\"><tr class=\"wpf-table-placeholder\"><td class=\"wpf-table-placeholder-input\" width=\"400px\"><table class=\"wpf-table-placeholder\"><tbody class=\"wpf-table-placeholder\"><tr class=\"wpf-table-placeholder\"><th class=\"wpf-table-placeholder-input\"><label class=\"wpf-label\">Username:<\/label><\/th><\/tr><tr class=\"wpf-table-placeholder\"><td class=\"wpf-table-placeholder-input\"><input class=\"regular-text text_input\" name=\"username\" value=\"\" type=\"text\"\/><\/td><\/tr><tr class=\"wpf-table-placeholder\"><th class=\"wpf-table-placeholder-input\"><label class=\"wpf-label\">Password:<\/label><\/th><\/tr><tr class=\"wpf-table-placeholder\"><td class=\"wpf-table-placeholder-input\"><input class=\"regular-text text_input\" name=\"password\" value=\"\" type=\"password\"\/><\/td><\/tr><\/tbody><\/table><p class=\"wpf-table-placeholder submit\"><button class=\"wp_plugin_framework_ajax_button\" type=\"button\" style=\"background-color:#4D90FE;;color:#ffffff;;border:1px solid #3079ed;\" name=\"_event\" value=\"ButtonLogin\">Log in<\/button><\/p><\/td><td class=\"wpf-table-placeholder-input\"><\/td><\/tr><\/tbody><\/table><\/form><div id=\"ButtonStartRegister\"><a href=\"https:\/\/egonlin.com\/wp-login.php?action=register\">Register<\/a><\/div><div id=\"Link1\"><a href=\"https:\/\/egonlin.com\/wp-login.php?action=lostpassword\">Forgotten username or password?<\/a><\/div><div id=\"StatusBarFooter\"><\/div><\/div><\/div><div id=aru_remaining_content><\/div>","protected":false},"excerpt":{"rendered":"<p>sortset\u6709\u5e8f\u96c6\u5408 \u4e00\u3001\u7279\u70b9 key value stu 100, 20, 10 (ls, pwd, mk [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[21,19,159,22,160,20],"_links":{"self":[{"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/posts\/1264"}],"collection":[{"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/egonlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1264"}],"version-history":[{"count":1,"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/posts\/1264\/revisions"}],"predecessor-version":[{"id":9943,"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/posts\/1264\/revisions\/9943"}],"wp:attachment":[{"href":"https:\/\/egonlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1264"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/egonlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1264"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/egonlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}