{"action":"created","issue":{"url":"https://api.github.com/repos/collective/collective.recipe.solrinstance/issues/49","repository_url":"https://api.github.com/repos/collective/collective.recipe.solrinstance","labels_url":"https://api.github.com/repos/collective/collective.recipe.solrinstance/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/collective/collective.recipe.solrinstance/issues/49/comments","events_url":"https://api.github.com/repos/collective/collective.recipe.solrinstance/issues/49/events","html_url":"https://github.com/collective/collective.recipe.solrinstance/issues/49","id":107866384,"number":49,"title":"collective.recipe.solrinstance 5.0.0b3 does not work with Solr 4.10.x.","user":{"login":"tisto","id":632105,"avatar_url":"https://avatars.githubusercontent.com/u/632105?v=3","gravatar_id":"","url":"https://api.github.com/users/tisto","html_url":"https://github.com/tisto","followers_url":"https://api.github.com/users/tisto/followers","following_url":"https://api.github.com/users/tisto/following{/other_user}","gists_url":"https://api.github.com/users/tisto/gists{/gist_id}","starred_url":"https://api.github.com/users/tisto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tisto/subscriptions","organizations_url":"https://api.github.com/users/tisto/orgs","repos_url":"https://api.github.com/users/tisto/repos","events_url":"https://api.github.com/users/tisto/events{/privacy}","received_events_url":"https://api.github.com/users/tisto/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/collective/collective.recipe.solrinstance/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-23T07:42:33Z","updated_at":"2016-04-19T09:01:12Z","closed_at":null,"body":"collective.recipe.solrinstance 5.0.0b3 / Solr 4.10.x fails with:\r\n\r\n```\r\norg.apache.solr.common.SolrException: Unable to use updateLog: _version_ field must exist in schema, using indexed=\"true\" or docValues=\"true\", stored=\"true\" and multiValued=\"false\" (_version_ does not exist)\r\n```\r\nSteps to reproduce.\r\n\r\nCreate package:\r\n\r\n$ mrbob -O example.solr bobtemplates:plone_addon\r\n$ cd example.solr/\r\n$ wget https://github.com/collective/collective.solr/raw/master/solr.cfg\r\n$ wget https://raw.githubusercontent.com/collective/collective.solr/master/solr-4.10.x.cfg\r\n\r\nbuildout.cfg:\r\n\r\n```\r\n[buildout]\r\nextends =\r\n    http://dist.plone.org/release/4.3.6/versions.cfg\r\n    solr.cfg\r\n    solr-4.10.x.cfg\r\n...\r\nparts +=\r\n```\r\n\r\n$ python bootstrap-buildout.py\r\n$ bin/buildout\r\n$ bin/solr-instance fg\r\n\r\n```\r\norg.apache.solr.common.SolrException: Unable to use updateLog: _version_ field must exist in schema, using indexed=\"true\" or docValues=\"true\", stored=\"true\" and multiValued=\"false\" (_version_ does not exist)\r\n    at org.apache.solr.core.SolrCore.<init>(SolrCore.java:881)\r\n    at org.apache.solr.core.SolrCore.<init>(SolrCore.java:654)\r\n    at org.apache.solr.core.CoreContainer.create(CoreContainer.java:491)\r\n    at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:255)\r\n    at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:249)\r\n    at java.util.concurrent.FutureTask.run(FutureTask.java:262)\r\n    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n    at java.lang.Thread.run(Thread.java:745)\r\nCaused by: org.apache.solr.common.SolrException: Unable to use updateLog: _version_ field must exist in schema, using indexed=\"true\" or docValues=\"true\", stored=\"true\" and multiValued=\"false\" (_version_ does not exist)\r\n    at org.apache.solr.update.UpdateLog.init(UpdateLog.java:280)\r\n    at org.apache.solr.update.UpdateHandler.<init>(UpdateHandler.java:134)\r\n    at org.apache.solr.update.UpdateHandler.<init>(UpdateHandler.java:94)\r\n    at org.apache.solr.update.DirectUpdateHandler2.<init>(DirectUpdateHandler2.java:100)\r\n    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\r\n    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)\r\n    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\r\n    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)\r\n    at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:558)\r\n    at org.apache.solr.core.SolrCore.createUpdateHandler(SolrCore.java:628)\r\n    at org.apache.solr.core.SolrCore.<init>(SolrCore.java:843)\r\n    ... 8 more\r\nCaused by: org.apache.solr.common.SolrException: _version_ field must exist in schema, using indexed=\"true\" or docValues=\"true\", stored=\"true\" and multiValued=\"false\" (_version_ does not exist)\r\n    at org.apache.solr.update.VersionInfo.getAndCheckVersionField(VersionInfo.java:56)\r\n    at org.apache.solr.update.VersionInfo.<init>(VersionInfo.java:82)\r\n    at org.apache.solr.update.UpdateLog.init(UpdateLog.java:277)\r\n    ... 18 more\r\n2102 [main] INFO  org.apache.solr.servlet.SolrDispatchFilter  – user.dir=/home/timo/workspace/example.solr/parts/solr-instance\r\n2102 [main] INFO  org.apache.solr.servlet.SolrDispatchFilter  – SolrDispatchFilter.init() done\r\n2116 [main] INFO  org.eclipse.jetty.server.AbstractConnector  – Started SocketConnector@127.0.0.1:8983\r\n```\r\n\r\nPinning c.r.solrinstance to 5.3.2 solves the issue.\r\n\r\nOriginal bug report: https://github.com/collective/collective.solr/issues/84"},"comment":{"url":"https://api.github.com/repos/collective/collective.recipe.solrinstance/issues/comments/211812486","html_url":"https://github.com/collective/collective.recipe.solrinstance/issues/49#issuecomment-211812486","issue_url":"https://api.github.com/repos/collective/collective.recipe.solrinstance/issues/49","id":211812486,"user":{"login":"tisto","id":632105,"avatar_url":"https://avatars.githubusercontent.com/u/632105?v=3","gravatar_id":"","url":"https://api.github.com/users/tisto","html_url":"https://github.com/tisto","followers_url":"https://api.github.com/users/tisto/followers","following_url":"https://api.github.com/users/tisto/following{/other_user}","gists_url":"https://api.github.com/users/tisto/gists{/gist_id}","starred_url":"https://api.github.com/users/tisto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tisto/subscriptions","organizations_url":"https://api.github.com/users/tisto/orgs","repos_url":"https://api.github.com/users/tisto/repos","events_url":"https://api.github.com/users/tisto/events{/privacy}","received_events_url":"https://api.github.com/users/tisto/received_events","type":"User","site_admin":false},"created_at":"2016-04-19T09:01:12Z","updated_at":"2016-04-19T09:01:12Z","body":"@gforcada cool! I'm still on the 5.x branch with everything because 6.x never worked for me. Would you mind doing a pull request? I will create a 5.x branch..."}}