code: function SearchResultModel(serviceRegistry, fileClient, searchResult, totalNumber, searchParams, options) {
          this.registry = serviceRegistry;
          this.fileClient = fileClient;
          if(searchResult && searchResult.categories) {
          	this._fileList = searchResult.refResult;
          	this._categories = searchResult.categories;
          } else {
          	this._fileList = searchResult;
          }
          this._numberOnPage = this._fileList.length;
          this._totalNumber = totalNumber;
          this._shape = searchParams.shape ? searchParams.shape : 'file'; //$NON-NLS-1$
          this._listRoot = {
              isRoot: true,
              children: []
          };
          this._filteredRoot = {
              isRoot: true,
              children: []
          };
          this._filterText = null;
          this._indexedFileItems = [];
          this._location2ModelMap = [];
          this._lineDelimiter = ""; //$NON-NLS-0$
          this.onMatchNumberChanged = options.onMatchNumberChanged;
          this._matchFilter = options.matchFilter;
          this._searchHelper = mSearchUtils.generateSearchHelper(searchParams);
      }
docs: /*
  The model to support the search result.