{"action":"created","issue":{"url":"https://api.github.com/repos/jflesch/paperwork/issues/357","labels_url":"https://api.github.com/repos/jflesch/paperwork/issues/357/labels{/name}","comments_url":"https://api.github.com/repos/jflesch/paperwork/issues/357/comments","events_url":"https://api.github.com/repos/jflesch/paperwork/issues/357/events","html_url":"https://github.com/jflesch/paperwork/issues/357","id":52875546,"number":357,"title":"Search not displaying all results","user":{"login":"scubbx","id":1347421,"avatar_url":"https://avatars.githubusercontent.com/u/1347421?v=3","gravatar_id":"","url":"https://api.github.com/users/scubbx","html_url":"https://github.com/scubbx","followers_url":"https://api.github.com/users/scubbx/followers","following_url":"https://api.github.com/users/scubbx/following{/other_user}","gists_url":"https://api.github.com/users/scubbx/gists{/gist_id}","starred_url":"https://api.github.com/users/scubbx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scubbx/subscriptions","organizations_url":"https://api.github.com/users/scubbx/orgs","repos_url":"https://api.github.com/users/scubbx/repos","events_url":"https://api.github.com/users/scubbx/events{/privacy}","received_events_url":"https://api.github.com/users/scubbx/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jflesch/paperwork/labels/bug","name":"bug","color":"444444"},{"url":"https://api.github.com/repos/jflesch/paperwork/labels/to+study","name":"to study","color":"0000FF"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/jflesch/paperwork/milestones/11","labels_url":"https://api.github.com/repos/jflesch/paperwork/milestones/11/labels","id":915065,"number":11,"title":"0.2.2-stable","description":"","creator":{"login":"jflesch","id":135331,"avatar_url":"https://avatars.githubusercontent.com/u/135331?v=3","gravatar_id":"","url":"https://api.github.com/users/jflesch","html_url":"https://github.com/jflesch","followers_url":"https://api.github.com/users/jflesch/followers","following_url":"https://api.github.com/users/jflesch/following{/other_user}","gists_url":"https://api.github.com/users/jflesch/gists{/gist_id}","starred_url":"https://api.github.com/users/jflesch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jflesch/subscriptions","organizations_url":"https://api.github.com/users/jflesch/orgs","repos_url":"https://api.github.com/users/jflesch/repos","events_url":"https://api.github.com/users/jflesch/events{/privacy}","received_events_url":"https://api.github.com/users/jflesch/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2014-12-26T09:42:31Z","updated_at":"2014-12-26T09:42:43Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2014-12-26T00:38:12Z","updated_at":"2015-01-07T11:04:08Z","closed_at":null,"body":"A Document is loaded from PDF, OCR works and detects words, it is listed in the collection of documents ( (1) and (2) in the following screenshot):\r\n![sshot1](https://cloud.githubusercontent.com/assets/1347421/5555170/f8397d80-8c9e-11e4-8e61-fb5c82d3e33f.png)\r\n\r\nA search term is entered into the search-box while the last document of the screenshot above is still selected. This search-term is found in 2 documents (1), but should also be found in the newly created one. Because it still is selected, one can see the boxes that mark a matching search-term in the doucment. Alas, this search term was actually found in this document (2) but it is not displaed in the list of found documents.\r\n![sshot2](https://cloud.githubusercontent.com/assets/1347421/5555171/09b50250-8c9f-11e4-9850-830c071632e3.png)\r\n\r\nI already tried restarting Paperwork, rebuilding the Index, optimizing the Index and redoing the OCR on this document.\r\n\r\nSystem: Linux Mint 17.1\r\nPaperworks: 0.2.1, installed with PIP"},"comment":{"url":"https://api.github.com/repos/jflesch/paperwork/issues/comments/69007512","html_url":"https://github.com/jflesch/paperwork/issues/357#issuecomment-69007512","issue_url":"https://api.github.com/repos/jflesch/paperwork/issues/357","id":69007512,"user":{"login":"jflesch","id":135331,"avatar_url":"https://avatars.githubusercontent.com/u/135331?v=3","gravatar_id":"","url":"https://api.github.com/users/jflesch","html_url":"https://github.com/jflesch","followers_url":"https://api.github.com/users/jflesch/followers","following_url":"https://api.github.com/users/jflesch/following{/other_user}","gists_url":"https://api.github.com/users/jflesch/gists{/gist_id}","starred_url":"https://api.github.com/users/jflesch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jflesch/subscriptions","organizations_url":"https://api.github.com/users/jflesch/orgs","repos_url":"https://api.github.com/users/jflesch/repos","events_url":"https://api.github.com/users/jflesch/events{/privacy}","received_events_url":"https://api.github.com/users/jflesch/received_events","type":"User","site_admin":false},"created_at":"2015-01-07T11:04:08Z","updated_at":"2015-01-07T11:04:08Z","body":"Got it:\r\nThe problem comes from some obsolete code still looking for .txt files on OCR-ed PDF files. Sorry for that. I'm going to fix it asap."}}