code: func (model *Model) updateSuffixArr() {
  	if !model.UseAutocomplete {
  		return
  	}
  	model.RLock()
  	termArr := make([]string, 0, 1000)
  	for term, count := range model.Data {
  		if count.Corpus > model.Threshold || count.Query > 0 { // TODO: query threshold?
  			termArr = append(termArr, term)
  		}
  	}
  	model.SuffixArrConcat = "\x00" + strings.Join(termArr, "\x00") + "\x00"
  	model.SuffixArr = suffixarray.New([]byte(model.SuffixArrConcat))
  	model.SuffDivergence = 0
  	model.RUnlock()
  }
docs: // Takes the known dictionary listing and creates a suffix array
  // model for these terms. If a model already existed, it is discarded