docs: function (islist) {
        var arr = this.commands, self = this, i = 0,
          page_size = arr.length,
          arrResultHTML = [],
          resultData = [],
          show_list_count = islist ? this.page_size : this.query_size;
        if (arr && arr.length && toString.call(arr).indexOf('Array') > -1) {
          for (; i < page_size; i++) {
            if (!arr[i]) break;
            var nIdx = self.isSreachIndexOF(arr[i].n, self.query);
            var dIdx = self.isSreachIndexOF(arr[i].d, self.query);
            if (nIdx > -1 || dIdx > -1) {
              var json = arr[i];
              json.nIdx = nIdx;
              json.dIdx = dIdx;
              resultData.push(json);
            }
          }
        }
        resultData.sort(function (a, b) {
          return a.nIdx - b.nIdx
        }).sort(function(a, b) {
          return a.n.length - b.n.length;
        }).sort(function (a, b) {
          if (b.n.indexOf(self.query) < 0) {
            return -1;
          }
          return a.n.indexOf(self.query) - b.n.indexOf(self.query);
        });
        resultData = resultData.slice(0, show_list_count);
  
        for (i = 0; i < resultData.length; i++) {
          arrResultHTML.push(self.createKeyworldsHTML(resultData[i], self.query, islist));
        }
        var elm = islist ? this.elm_search_result : this.elm_result;
        elm.innerHTML = '';
        for (var i = 0; i < arrResultHTML.length; i++) {
          var myLi = document.createElement("LI");
          myLi.innerHTML = arrResultHTML[i];
          elm.appendChild(myLi);
        }
        if (arrResultHTML.length === 0) {
          var myLi = document.createElement("LI");
          myLi.innerHTML = '<span>' + this.query ? '请尝试输入一些字符，进行搜索！' + '</span>' : '没有搜索到任何内容，请尝试输入其它字符！';
          elm.appendChild(myLi);
        }
      }