<commit_before>'use strict';
var _ = require('underscore');

module.exports = function() {
  var searchConverter = function(data) {
    return {
      meta: {
      },
      pagination: {
        page: 1,
        per_page: 10,
        total: data.hits.total
      },
      data: {
        items: data.hits.hits
      }
    }<commit_msg>search items<commit_after>'use strict';
var _ = require('underscore');

module.exports = function() {
  var searchConverter = function(data) {
    return {
      meta: {
      },
      pagination: {
        page: 1,
        per_page: 10,
        total: data.hits.total
      },
      data: {
        items: data.hits.hits,
        groups: [],
        filters: {}
      }
    }
{'fraction_non_alphanumeric': 0.1348314606741573, 'fraction_numerical': 0.008426966292134831, 'mean_word_length': 1.7635658914728682, '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': '7182406', 'n_tokens_mistral': 235, 'n_tokens_neox': 225, 'n_words': 45}