{"action":"created","issue":{"url":"https://api.github.com/repos/graphaware/neo4j-to-elasticsearch/issues/33","repository_url":"https://api.github.com/repos/graphaware/neo4j-to-elasticsearch","labels_url":"https://api.github.com/repos/graphaware/neo4j-to-elasticsearch/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/graphaware/neo4j-to-elasticsearch/issues/33/comments","events_url":"https://api.github.com/repos/graphaware/neo4j-to-elasticsearch/issues/33/events","html_url":"https://github.com/graphaware/neo4j-to-elasticsearch/issues/33","id":168526009,"number":33,"title":"Does the connector check index existence on every neo4j restart?","user":{"login":"foobargeez","id":8659389,"avatar_url":"https://avatars.githubusercontent.com/u/8659389?v=3","gravatar_id":"","url":"https://api.github.com/users/foobargeez","html_url":"https://github.com/foobargeez","followers_url":"https://api.github.com/users/foobargeez/followers","following_url":"https://api.github.com/users/foobargeez/following{/other_user}","gists_url":"https://api.github.com/users/foobargeez/gists{/gist_id}","starred_url":"https://api.github.com/users/foobargeez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foobargeez/subscriptions","organizations_url":"https://api.github.com/users/foobargeez/orgs","repos_url":"https://api.github.com/users/foobargeez/repos","events_url":"https://api.github.com/users/foobargeez/events{/privacy}","received_events_url":"https://api.github.com/users/foobargeez/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/graphaware/neo4j-to-elasticsearch/labels/documentation-fix","name":"documentation-fix","color":"d4c5f9"},{"url":"https://api.github.com/repos/graphaware/neo4j-to-elasticsearch/labels/in-progress","name":"in-progress","color":"c2e0c6"},{"url":"https://api.github.com/repos/graphaware/neo4j-to-elasticsearch/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-31T16:32:30Z","updated_at":"2016-08-23T14:43:42Z","closed_at":null,"body":"I deleted ES index `neo4j-index-relationship` and bounced neo4j and I don't see the index getting recreated.  I created the index with the same name and now the connector won't update the index with the new data being inserted into neo4j.\r\n\r\nI have the following from the debug.log:\r\n\r\n```\r\n2016-07-31 16:17:23.684+0000 INFO  [c.g.m.u.UuidBootstrapper] uuidProperty set to uuid\r\n2016-07-31 16:17:23.691+0000 INFO  [c.g.r.BaseGraphAwareRuntime] Registering module UIDM with GraphAware Runtime.\r\n2016-07-31 16:17:23.704+0000 INFO  [c.g.m.e.m.BaseMapping] ElasticSearch index-prefix set to neo4j-index\r\n2016-07-31 16:17:23.705+0000 INFO  [c.g.m.e.m.BaseMapping] ElasticSearch key-property set to uuid\r\n2016-07-31 16:17:23.705+0000 INFO  [c.g.m.e.m.BaseMapping] ElasticSearch force-strings set to false\r\n2016-07-31 16:17:23.706+0000 INFO  [c.g.r.m.BaseRuntimeModuleBootstrapper] ES (re-)initialize until set to NEVER\r\n2016-07-31 16:17:23.706+0000 INFO  [c.g.r.m.BaseRuntimeModuleBootstrapper] Relationship Inclusion Policy set to com.graphaware.common.policy.composite.CompositeRelationshipInclusionPolicy@f70a0f7d\r\n2016-07-31 16:17:23.707+0000 INFO  [c.g.m.e.ElasticSearchModuleBootstrapper] Elasticsearch URI set to localhost\r\n2016-07-31 16:17:23.707+0000 INFO  [c.g.m.e.ElasticSearchModuleBootstrapper] Elasticsearch port set to 9200\r\n2016-07-31 16:17:23.708+0000 INFO  [c.g.m.e.ElasticSearchModuleBootstrapper] Elasticsearch key property set to uuid\r\n2016-07-31 16:17:23.708+0000 INFO  [c.g.m.e.ElasticSearchModuleBootstrapper] Elasticsearch retry-on-error set to false\r\n2016-07-31 16:17:23.709+0000 INFO  [c.g.m.e.ElasticSearchModuleBootstrapper] Elasticsearch module queue capacity set to 1000\r\n2016-07-31 16:17:23.709+0000 INFO  [c.g.m.e.ElasticSearchModuleBootstrapper] Elasticsearch bulk execution set to true\r\n2016-07-31 16:17:23.991+0000 INFO  [c.g.m.e.ElasticSearchModuleBootstrapper] Elasticsearch mapping configured with class com.graphaware.module.es.mapping.JsonFileMapping\r\n2016-07-31 16:17:24.016+0000 INFO  [c.g.r.BaseGraphAwareRuntime] Registering module ES with GraphAware Runtime.\r\n```\r\n\r\nLet me know if you need more details.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/graphaware/neo4j-to-elasticsearch/issues/comments/241754561","html_url":"https://github.com/graphaware/neo4j-to-elasticsearch/issues/33#issuecomment-241754561","issue_url":"https://api.github.com/repos/graphaware/neo4j-to-elasticsearch/issues/33","id":241754561,"user":{"login":"foobargeez","id":8659389,"avatar_url":"https://avatars.githubusercontent.com/u/8659389?v=3","gravatar_id":"","url":"https://api.github.com/users/foobargeez","html_url":"https://github.com/foobargeez","followers_url":"https://api.github.com/users/foobargeez/followers","following_url":"https://api.github.com/users/foobargeez/following{/other_user}","gists_url":"https://api.github.com/users/foobargeez/gists{/gist_id}","starred_url":"https://api.github.com/users/foobargeez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foobargeez/subscriptions","organizations_url":"https://api.github.com/users/foobargeez/orgs","repos_url":"https://api.github.com/users/foobargeez/repos","events_url":"https://api.github.com/users/foobargeez/events{/privacy}","received_events_url":"https://api.github.com/users/foobargeez/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T14:43:41Z","updated_at":"2016-08-23T14:43:41Z","body":"Thanks.  It's probably apparent but I just want to make sure we are on the same page -- the indices will not be dropped and recreated on every neo4j restart but created **only** if the indices do not exist already -- can you please confirm/deny?\r\n\r\nGiven that some may run into the above confusion, I am wondering why not make this option a default i.e., as long as the connector is in neo4j plugins, the index gets created on neo4j restart if it doesn't exist but if someone doesn't want that behavior, they simply turn it off using `always_recreate_indices=false`.\r\n\r\nMy $0.02"}}
{"actor":{"display_login":"foobargeez"}}