{"action":"opened","issue":{"url":"https://api.github.com/repos/molgenis/molgenis/issues/3309","labels_url":"https://api.github.com/repos/molgenis/molgenis/issues/3309/labels{/name}","comments_url":"https://api.github.com/repos/molgenis/molgenis/issues/3309/comments","events_url":"https://api.github.com/repos/molgenis/molgenis/issues/3309/events","html_url":"https://github.com/molgenis/molgenis/issues/3309","id":92372602,"number":3309,"title":"ElasticsearchRepository.rebuildIndex does not not rebuild index","user":{"login":"dennishendriksen","id":2477186,"avatar_url":"https://avatars.githubusercontent.com/u/2477186?v=3","gravatar_id":"","url":"https://api.github.com/users/dennishendriksen","html_url":"https://github.com/dennishendriksen","followers_url":"https://api.github.com/users/dennishendriksen/followers","following_url":"https://api.github.com/users/dennishendriksen/following{/other_user}","gists_url":"https://api.github.com/users/dennishendriksen/gists{/gist_id}","starred_url":"https://api.github.com/users/dennishendriksen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennishendriksen/subscriptions","organizations_url":"https://api.github.com/users/dennishendriksen/orgs","repos_url":"https://api.github.com/users/dennishendriksen/repos","events_url":"https://api.github.com/users/dennishendriksen/events{/privacy}","received_events_url":"https://api.github.com/users/dennishendriksen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/molgenis/molgenis/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/molgenis/molgenis/labels/data-elasticsearch","name":"data-elasticsearch","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-01T12:45:20Z","updated_at":"2015-07-01T12:45:20Z","closed_at":null,"body":"ElasticsearchRepository.rebuildIndex should reindex documents from their source, which is stored in Elasticsearch:\r\n\r\n```\r\n@Override\r\npublic void rebuildIndex()\r\n{\r\n\t// Do nothing\r\n\t// FIXME reindex from source documents\r\n\t// Do not throw UnsupportedOperationException here because reindexing of repos at startup will fail\r\n}\r\n```\r\n\r\nThis is important when changing for example analyzer or tokenizer settings."}}