{"action":"closed","issue":{"url":"https://api.github.com/repos/ClinGen/clincoded/issues/60","labels_url":"https://api.github.com/repos/ClinGen/clincoded/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/ClinGen/clincoded/issues/60/comments","events_url":"https://api.github.com/repos/ClinGen/clincoded/issues/60/events","html_url":"https://github.com/ClinGen/clincoded/issues/60","id":93333084,"number":60,"title":"Enable searching (remove encoded/add clincoded info)","user":{"login":"kilodalton","id":1878194,"avatar_url":"https://avatars.githubusercontent.com/u/1878194?v=3","gravatar_id":"","url":"https://api.github.com/users/kilodalton","html_url":"https://github.com/kilodalton","followers_url":"https://api.github.com/users/kilodalton/followers","following_url":"https://api.github.com/users/kilodalton/following{/other_user}","gists_url":"https://api.github.com/users/kilodalton/gists{/gist_id}","starred_url":"https://api.github.com/users/kilodalton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kilodalton/subscriptions","organizations_url":"https://api.github.com/users/kilodalton/orgs","repos_url":"https://api.github.com/users/kilodalton/repos","events_url":"https://api.github.com/users/kilodalton/events{/privacy}","received_events_url":"https://api.github.com/users/kilodalton/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ClinGen/clincoded/labels/active","name":"active","color":"ededed"},{"url":"https://api.github.com/repos/ClinGen/clincoded/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/ClinGen/clincoded/labels/v0.5","name":"v0.5","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":{"login":"mrmin123","id":4326866,"avatar_url":"https://avatars.githubusercontent.com/u/4326866?v=3","gravatar_id":"","url":"https://api.github.com/users/mrmin123","html_url":"https://github.com/mrmin123","followers_url":"https://api.github.com/users/mrmin123/followers","following_url":"https://api.github.com/users/mrmin123/following{/other_user}","gists_url":"https://api.github.com/users/mrmin123/gists{/gist_id}","starred_url":"https://api.github.com/users/mrmin123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrmin123/subscriptions","organizations_url":"https://api.github.com/users/mrmin123/orgs","repos_url":"https://api.github.com/users/mrmin123/repos","events_url":"https://api.github.com/users/mrmin123/events{/privacy}","received_events_url":"https://api.github.com/users/mrmin123/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-07-06T17:32:55Z","updated_at":"2015-07-10T05:14:38Z","closed_at":"2015-07-10T05:14:38Z","body":"`src/clincoded/search.py` still has some encoded-specific search handling that is interfering with searching\r\n\r\nThis URL:\r\nhttp://localhost:6543/search/?type=gdm&gdmId=4&datastore=database\r\n\r\nThrows an error:\r\n\r\n>...`2015-07-05 22:14:17,506 INFO  [elasticsearch.trace][Dummy-1] curl -XGET 'http://localhost:9200/clincoded/_search?pretty' -d '{\r\n  \"filter\": {\r\n    \"term\": {\r\n      \"unique_keys.curator_page:location\": \"antibody_lot\"\r\n    }\r\n  },\r\n  \"version\": true\r\n}'\r\n>.../clincoded/src/contentbase/resources.py(461)__getitem__()\r\n-> raise KeyError(name)`\r\n\r\n\r\n\r\nNote: `datastore=database` is required in URL to force use of db for lookups until elasticsearch is re-enabled.\r\n\r\n\r\nNote2: Likely trouble spot:\r\n`doc_types = ['antibody_lot', 'biosample',\r\n                         'experiment', 'target', 'dataset', 'page', 'publication',\r\n                         'software']`\r\n"}}