{"ScriptPreparationCode":null,"TestCases":[{"Name":"Lunr","Code":"var idx = lunr(function () {\r\n this.ref(\u0027isbn\u0027);\r\n this.field(\u0027title\u0027);\r\n this.field(\u0027author\u0027);\r\n\r\n books.forEach(function (doc) {\r\n this.add(doc)\r\n }, this);\r\n})","IsDeferred":false},{"Name":"js search","Code":"var search = new JsSearch.Search(\u0027isbn\u0027);\r\nsearch.searchIndex = new JsSearch.TfIdfSearchIndex(\u0027isbn\u0027);\r\nsearch.addIndex(\u0027title\u0027);\r\nsearch.addIndex(\u0027author\u0027);\r\nsearch.addDocuments(books);","IsDeferred":false},{"Name":"minisearch","Code":"var miniSearch = new MiniSearch({\r\n fields: [\u0027isbn\u0027, \u0027title\u0027, \u0027author\u0027], // fields to index for full-text search\r\n});\r\nminiSearch.addAll(books)","IsDeferred":false}]}