<commit_before>'use strict';

let should = require('should');

let RisBka = require('../lib/index.js');

describe('RisBka', function () {
  describe('.searchDocuments(query, cbOk, cbFail)', function () {

    let query = {
      searchTerms: '', // PhraseSearchExpression
      title: '', // PhraseSearchExpression
      index: '', // PhraseSearchExpression
      section: {
        number: {
          start: 1,
          end: 2
        },
        character: {
          start: 'a',
          end: 'z'
        },
        typ: '' // "Alle", "Artikel", "Paragraph", "Anlage"
      },
      versionDate: undefined, // Date
      announcementInstitution: '', // PhraseSearchExpression<commit_msg>improve searchQuery comments<commit_after>'use strict';

let should = require('should');

let RisBka = require('../lib/index.js');

describe('RisBka', function () {
  describe('.searchDocuments(query, cbOk, cbFail)', function () {

    let query = {
      searchTerms: '', // PhraseSearchExpression (SearchExpression)
      title: '', // PhraseSearchExpression (SearchExpression)
      index: '', // PhraseSearchExpression (SearchExpression)
      section: {
        number: {
          start: 1,
          end: 2
        },
        character: {
          start: 'a',
          end: 'z'
        },
        typ: '' // "Alle", "Artikel", "Paragraph", "Anlage"
      },
      versionDate: undefined, // Date
      announcementInstitution: '', // PhraseSearchExpression
{'fraction_non_alphanumeric': 0.1550068587105624, 'fraction_numerical': 0.0027434842249657062, 'mean_word_length': 2.315909090909091, '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': '5284887', 'n_tokens_mistral': 420, 'n_tokens_neox': 415, 'n_words': 90}