{"action":"created","issue":{"url":"https://api.github.com/repos/seongjaelee/nvatom/issues/32","repository_url":"https://api.github.com/repos/seongjaelee/nvatom","labels_url":"https://api.github.com/repos/seongjaelee/nvatom/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/seongjaelee/nvatom/issues/32/comments","events_url":"https://api.github.com/repos/seongjaelee/nvatom/issues/32/events","html_url":"https://github.com/seongjaelee/nvatom/issues/32","id":107243728,"number":32,"title":"Uncaught TypeError in lunr.js","user":{"login":"benzguo","id":894119,"avatar_url":"https://avatars.githubusercontent.com/u/894119?v=3","gravatar_id":"","url":"https://api.github.com/users/benzguo","html_url":"https://github.com/benzguo","followers_url":"https://api.github.com/users/benzguo/followers","following_url":"https://api.github.com/users/benzguo/following{/other_user}","gists_url":"https://api.github.com/users/benzguo/gists{/gist_id}","starred_url":"https://api.github.com/users/benzguo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benzguo/subscriptions","organizations_url":"https://api.github.com/users/benzguo/orgs","repos_url":"https://api.github.com/users/benzguo/repos","events_url":"https://api.github.com/users/benzguo/events{/privacy}","received_events_url":"https://api.github.com/users/benzguo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"seongjaelee","id":948301,"avatar_url":"https://avatars.githubusercontent.com/u/948301?v=3","gravatar_id":"","url":"https://api.github.com/users/seongjaelee","html_url":"https://github.com/seongjaelee","followers_url":"https://api.github.com/users/seongjaelee/followers","following_url":"https://api.github.com/users/seongjaelee/following{/other_user}","gists_url":"https://api.github.com/users/seongjaelee/gists{/gist_id}","starred_url":"https://api.github.com/users/seongjaelee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seongjaelee/subscriptions","organizations_url":"https://api.github.com/users/seongjaelee/orgs","repos_url":"https://api.github.com/users/seongjaelee/repos","events_url":"https://api.github.com/users/seongjaelee/events{/privacy}","received_events_url":"https://api.github.com/users/seongjaelee/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-09-18T17:27:33Z","updated_at":"2016-04-22T13:38:23Z","closed_at":"2016-04-22T13:38:23Z","body":"This errors pops up when searching regardless of whether \"Enable Lunr Pipeline\" is on.\r\n\r\n**Atom Version**: 1.0.13\r\n**System**: Mac OS X 10.10.5\r\n**Thrown From**: [nvatom](https://github.com/seongjaelee/nvatom) package, v0.8.1\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: Cannot read property 'tf' of undefined\r\n\r\n```\r\nAt /Users/bg/.atom/packages/nvatom/node_modules/docquery/node_modules/lunr/lunr.js:1150\r\n\r\nTypeError: Cannot read property 'tf' of undefined\r\n    at [object Object].lunr.Index.documentVector (/Users/bg/.atom/packages/nvatom/node_modules/docquery/node_modules/lunr/lunr.js:1150:53)\r\n    at [object Object].<anonymous> (/Users/bg/.atom/packages/nvatom/node_modules/docquery/node_modules/lunr/lunr.js:1122:61)\r\n    at Array.map (native)\r\n    at [object Object].lunr.SortedSet.map (/Users/bg/.atom/packages/nvatom/node_modules/docquery/node_modules/lunr/lunr.js:622:24)\r\n    at [object Object].lunr.Index.search (/Users/bg/.atom/packages/nvatom/node_modules/docquery/node_modules/lunr/lunr.js:1121:6)\r\n    at DocQuery.search (/Users/bg/.atom/packages/nvatom/node_modules/docquery/lib/DocQuery.js:119:31)\r\n    at NotationalVelocityView.module.exports.NotationalVelocityView.filter (/Users/bg/.atom/packages/nvatom/lib/notational-velocity-view.coffee:66:22)\r\n    at NotationalVelocityView.module.exports.NotationalVelocityView.populateList (/Users/bg/.atom/packages/nvatom/lib/notational-velocity-view.coffee:141:22)\r\n    at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:350:26\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -0:01.0 nvatom:toggle (atom-text-editor.editor.is-focused.vim-mode.normal-mode)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"audioBeep\": false,\r\n    \"projectHome\": \"/Users/bg/temp\",\r\n    \"themes\": [\r\n      \"one-dark-ui\",\r\n      \"base16-tomorrow-dark-theme\"\r\n    ],\r\n    \"disabledPackages\": [\r\n      \"minimap\",\r\n      \"merge-conflicts\",\r\n      \"git-blame\"\r\n    ]\r\n  },\r\n  \"nvatom\": {\r\n    \"directory\": \"/Users/bg/Notes\",\r\n    \"enableLunrPipeline\": false\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\nfile-icons, v1.6.9\r\nlinter-rubocop, v0.3.4\r\nnvatom, v0.8.1\r\npretty-json, v0.4.1\r\nvim-mode, v0.60.0\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/seongjaelee/nvatom/issues/comments/213431127","html_url":"https://github.com/seongjaelee/nvatom/issues/32#issuecomment-213431127","issue_url":"https://api.github.com/repos/seongjaelee/nvatom/issues/32","id":213431127,"user":{"login":"seongjaelee","id":948301,"avatar_url":"https://avatars.githubusercontent.com/u/948301?v=3","gravatar_id":"","url":"https://api.github.com/users/seongjaelee","html_url":"https://github.com/seongjaelee","followers_url":"https://api.github.com/users/seongjaelee/followers","following_url":"https://api.github.com/users/seongjaelee/following{/other_user}","gists_url":"https://api.github.com/users/seongjaelee/gists{/gist_id}","starred_url":"https://api.github.com/users/seongjaelee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seongjaelee/subscriptions","organizations_url":"https://api.github.com/users/seongjaelee/orgs","repos_url":"https://api.github.com/users/seongjaelee/repos","events_url":"https://api.github.com/users/seongjaelee/events{/privacy}","received_events_url":"https://api.github.com/users/seongjaelee/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T13:38:23Z","updated_at":"2016-04-22T13:38:23Z","body":"#44 Duplicated."}}