<commit_before>
module.exports = function (params, options, callback) {
  if (params[0]) {
    options.name = params[0];
  }

  options.port = options.port || 8080;

  var app = this.getExpressApp();
  app.listen(options.port);
  console.log('Server started in port ' + options.port);
};<commit_msg>use generated index for sear server<commit_after>
module.exports = function (params, options, callback) {
  if (params[0]) {
    options.name = params[0];
  }

  options.port = options.port || 8080;
  options.gen_index = true;

  var app = this.getExpressApp();
  app.listen(options.port);
  console.log('Server started in port ' + options.port);
};
{'fraction_non_alphanumeric': 0.14969135802469136, 'fraction_numerical': 0.018518518518518517, 'mean_word_length': 3.9923076923076923, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4484607', 'n_tokens_mistral': 218, 'n_tokens_neox': 207, 'n_words': 51}