{"action":"created","issue":{"url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/issues/14","labels_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/issues/14/comments","events_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/issues/14/events","html_url":"https://github.com/tetherless-world/dco-elasticsearch/issues/14","id":106912219,"number":14,"title":"Ready to ingest the data on datasets on test server to test dataset browser","user":{"login":"zhonghao1014","id":11859381,"avatar_url":"https://avatars.githubusercontent.com/u/11859381?v=3","gravatar_id":"","url":"https://api.github.com/users/zhonghao1014","html_url":"https://github.com/zhonghao1014","followers_url":"https://api.github.com/users/zhonghao1014/followers","following_url":"https://api.github.com/users/zhonghao1014/following{/other_user}","gists_url":"https://api.github.com/users/zhonghao1014/gists{/gist_id}","starred_url":"https://api.github.com/users/zhonghao1014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhonghao1014/subscriptions","organizations_url":"https://api.github.com/users/zhonghao1014/orgs","repos_url":"https://api.github.com/users/zhonghao1014/repos","events_url":"https://api.github.com/users/zhonghao1014/events{/privacy}","received_events_url":"https://api.github.com/users/zhonghao1014/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-17T04:52:17Z","updated_at":"2015-09-17T15:58:07Z","closed_at":null,"body":"Just pushed new commit to the dataset-browser branch. Facets, attributes, especially access and download links of distributions of dataset.\r\n\r\n1) It works on my localhost\r\n2) New page created on \"http://udco.tw.rpi.edu/vivo/dataset-test\". Since the search_url is set to //localhost:9200/dco/publication/_search', this page works when I open it from my machine. (See attached screen shots)\r\n<img width=\"809\" alt=\"qq20150917-2 2x\" src=\"https://cloud.githubusercontent.com/assets/11859381/9925194/53e6f54c-5cd6-11e5-8dc9-23e81249afa5.png\">\r\n<img width=\"888\" alt=\"qq20150917-1 2x\" src=\"https://cloud.githubusercontent.com/assets/11859381/9925193/53e5e18e-5cd6-11e5-8fa5-33876a4f1568.png\">\r\n\r\nI am wondering if we can quickly ingest the data to the server, then we can see if it works.\r\n\r\nUse \"python3 ingest-datasets.py <filename>\" to get the data. Default parameters are set. And the mapping file is mappings/dataset.json"},"comment":{"url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/issues/comments/141131523","html_url":"https://github.com/tetherless-world/dco-elasticsearch/issues/14#issuecomment-141131523","issue_url":"https://api.github.com/repos/tetherless-world/dco-elasticsearch/issues/14","id":141131523,"user":{"login":"zhonghao1014","id":11859381,"avatar_url":"https://avatars.githubusercontent.com/u/11859381?v=3","gravatar_id":"","url":"https://api.github.com/users/zhonghao1014","html_url":"https://github.com/zhonghao1014","followers_url":"https://api.github.com/users/zhonghao1014/followers","following_url":"https://api.github.com/users/zhonghao1014/following{/other_user}","gists_url":"https://api.github.com/users/zhonghao1014/gists{/gist_id}","starred_url":"https://api.github.com/users/zhonghao1014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhonghao1014/subscriptions","organizations_url":"https://api.github.com/users/zhonghao1014/orgs","repos_url":"https://api.github.com/users/zhonghao1014/repos","events_url":"https://api.github.com/users/zhonghao1014/events{/privacy}","received_events_url":"https://api.github.com/users/zhonghao1014/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T15:58:07Z","updated_at":"2015-09-17T15:58:07Z","body":"However, I uploaded exactly the same bulk data file and mapping file to both localhost:9200 and dcotest.tw.rpi.edu/search, tried uploading them both manually (CURL) and by the ingest-dataset script, but the browser works when search_url is set to '//localhost:9200/dco/dataset/_search', and doesn't work for '//dcotest.tw.rpi.edu/search/dco/dataset/_search' nor 'https://dcotest.tw.rpi.edu/search/dco/dataset/_search', giving an error message: \"Failed to load resource: the server responded with a status of 500 (Internal Server Error)\"\r\n\r\nThe https://dcotest.tw.rpi.edu/search/dco/dataset/_search and https://dcotest.tw.rpi.edu/search/dco/dataset/_mapping display fine though. Very weird."}}