{"action":"created","issue":{"url":"https://api.github.com/repos/mongodb-labs/mongo-connector/issues/376","labels_url":"https://api.github.com/repos/mongodb-labs/mongo-connector/issues/376/labels{/name}","comments_url":"https://api.github.com/repos/mongodb-labs/mongo-connector/issues/376/comments","events_url":"https://api.github.com/repos/mongodb-labs/mongo-connector/issues/376/events","html_url":"https://github.com/mongodb-labs/mongo-connector/issues/376","id":127346530,"number":376,"title":"Solr: ISODate is not stored.","user":{"login":"atuljangra","id":1225250,"avatar_url":"https://avatars.githubusercontent.com/u/1225250?v=3","gravatar_id":"","url":"https://api.github.com/users/atuljangra","html_url":"https://github.com/atuljangra","followers_url":"https://api.github.com/users/atuljangra/followers","following_url":"https://api.github.com/users/atuljangra/following{/other_user}","gists_url":"https://api.github.com/users/atuljangra/gists{/gist_id}","starred_url":"https://api.github.com/users/atuljangra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atuljangra/subscriptions","organizations_url":"https://api.github.com/users/atuljangra/orgs","repos_url":"https://api.github.com/users/atuljangra/repos","events_url":"https://api.github.com/users/atuljangra/events{/privacy}","received_events_url":"https://api.github.com/users/atuljangra/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-19T01:53:23Z","updated_at":"2016-01-30T18:43:47Z","closed_at":"2016-01-21T18:15:11Z","body":"I've a mongodb, solr and mongo-connector setup that was working fine.\r\nThen I decided to store date in my collection:\r\n\"published_date\" : ISODate(\"2016-01-19T00:16:05Z\")\r\nThis is being stored in the mongodb. And I've the following line in my schema.xml:\r\n   <field name=\"published_date\" type=\"date\" indexed=\"true\" stored=\"true\" />\r\nWhere \"date\" is a general \r\n <fieldType name=\"date\" class=\"solr.TrieDateField\" precisionStep=\"0\" positionIncrementGap=\"0\"/>\r\nas stated in https://github.com/mongodb-labs/mongo-connector/blob/master/mongo_connector/doc_managers/schema.xml\r\n\r\nNow the problem is that in the documents, only some of the documents seem to have the published_date field. Log file also doesn't show any errors. The documents are present, but they don't have this field."},"comment":{"url":"https://api.github.com/repos/mongodb-labs/mongo-connector/issues/comments/177270538","html_url":"https://github.com/mongodb-labs/mongo-connector/issues/376#issuecomment-177270538","issue_url":"https://api.github.com/repos/mongodb-labs/mongo-connector/issues/376","id":177270538,"user":{"login":"atuljangra","id":1225250,"avatar_url":"https://avatars.githubusercontent.com/u/1225250?v=3","gravatar_id":"","url":"https://api.github.com/users/atuljangra","html_url":"https://github.com/atuljangra","followers_url":"https://api.github.com/users/atuljangra/followers","following_url":"https://api.github.com/users/atuljangra/following{/other_user}","gists_url":"https://api.github.com/users/atuljangra/gists{/gist_id}","starred_url":"https://api.github.com/users/atuljangra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atuljangra/subscriptions","organizations_url":"https://api.github.com/users/atuljangra/orgs","repos_url":"https://api.github.com/users/atuljangra/repos","events_url":"https://api.github.com/users/atuljangra/events{/privacy}","received_events_url":"https://api.github.com/users/atuljangra/received_events","type":"User","site_admin":false},"created_at":"2016-01-30T18:43:47Z","updated_at":"2016-01-30T18:43:47Z","body":"Thank you! Anyway it took hell lot of time, but it works! So far so good."}}