code: function(prefix, count, callback) {
              if (!callback && utils.isFunction(count)) {
                  callback = count;
                  count = 10;
              }
              
              callback = callback || function() {};
              var params = {
                  count: count || 10,
                  prefix: prefix
              };
              
              return this.get(Paths.typeahead, params, function(err, response) {
                  if (err) {
                      callback(err);
                  }
                  else {
                      var results = (response.data || {}).results;
                      callback(null, results || []);
                  }
              });
          }
docs: Provides auto-complete suggestions for search queries.
  
  @example
  
  service.typeahead("index=", 10, function(err, options) {
  console.log("Autocompletion options: ", options);
  });
  
  @param {String} prefix The query fragment to autocomplete.
  @param {Number} count The number of options to return (optional).
  @param {Function} callback A function to call with the autocompletion info: `(err, options)`.
  
  @endpoint search/typeahead
  @method splunkjs.Service