<commit_before>$(document).ready(function () {
  var pathname = window.location.pathname;
  var docVersion = pathname.indexOf('/component-runtime') === 0 ?
    pathname.replace(/\/component\-runtime\/[^\/]+\/([0-9\.]+)\/.*/g, '$1') :
   pathname.replace(/\/[^\/]+\/([0-9\.]+)\/.*/g, '$1');
  var search = (location.search.split('query=')[1] || '').split('&')[0]
  var hits = $('#hits');
  $.getJSON('search-index.json', function(index) {
    var fuse = new Fuse(index, {
       shouldSort: true,
       threshold: 0.6,
       location: 0,
       distance: 100,
       maxPatternLength: 32,
       minMatchCharLength: 1,
       keys: [
         "title",
         "lvl0",
         "lvl1",
         "lvl2",
         "lvl3",
         "text"
       ]<commit_msg>(doc) supporting description in search<commit_after>$(document).ready(function () {
  var pathname = window.location.pathname;
  var docVersion = pathname.indexOf('/component-runtime') === 0 ?
    pathname.replace(/\/component\-runtime\/[^\/]+\/([0-9\.]+)\/.*/g, '$1') :
   pathname.replace(/\/[^\/]+\/([0-9\.]+)\/.*/g, '$1');
  var search = (location.search.split('query=')[1] || '').split('&')[0]
  var hits = $('#hits');
  $.getJSON('search-index.json', function(index) {
    var fuse = new Fuse(index, {
       shouldSort: true,
       threshold: 0.6,
       location: 0,
       distance: 100,
       maxPatternLength: 32,
       minMatchCharLength: 1,
       keys: [
         "title",
         "description",
         "keywords"
         "lvl0",
         "lvl1",
         "lvl2",
         "lvl3",
         "text"
       ]
{'fraction_non_alphanumeric': 0.2255211623499684, 'fraction_numerical': 0.027795325331648767, 'mean_word_length': 2.187122736418511, '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': '1462999', 'n_tokens_mistral': 573, 'n_tokens_neox': 552, 'n_words': 94}