{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch-net/issues/1542","labels_url":"https://api.github.com/repos/elastic/elasticsearch-net/issues/1542/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch-net/issues/1542/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch-net/issues/1542/events","html_url":"https://github.com/elastic/elasticsearch-net/issues/1542","id":103238549,"number":1542,"title":"Map Many fields","user":{"login":"shoushouleb","id":13929075,"avatar_url":"https://avatars.githubusercontent.com/u/13929075?v=3","gravatar_id":"","url":"https://api.github.com/users/shoushouleb","html_url":"https://github.com/shoushouleb","followers_url":"https://api.github.com/users/shoushouleb/followers","following_url":"https://api.github.com/users/shoushouleb/following{/other_user}","gists_url":"https://api.github.com/users/shoushouleb/gists{/gist_id}","starred_url":"https://api.github.com/users/shoushouleb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shoushouleb/subscriptions","organizations_url":"https://api.github.com/users/shoushouleb/orgs","repos_url":"https://api.github.com/users/shoushouleb/repos","events_url":"https://api.github.com/users/shoushouleb/events{/privacy}","received_events_url":"https://api.github.com/users/shoushouleb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-26T10:59:56Z","updated_at":"2015-08-27T06:08:15Z","closed_at":null,"body":"Hi i am trying to map two fields : (please see ERROR HERE)\r\n\r\n elastic.CreateIndex(\"test1\", i => i\r\n                    .Analysis(an => an\r\n                        .Tokenizers(tokenizers => tokenizers\r\n                            .Add(PathTokenizerName, PathTokenizer)\r\n                        )\r\n                        .Analyzers(analyzer => analyzer\r\n                            .Add(PathAnalyzerName, PathAnalyzer)\r\n                        )\r\n                    )\r\n                    .AddMapping<Document>(t => t\r\n                        .MapFromAttributes()\r\n                        .Properties(props => props\r\n                            //Partial path matching\r\n                           .String(myPathProperty => myPathProperty\r\n                                .Name(_t => _t.FullFilePath)\r\n                                .IndexAnalyzer(PathAnalyzerName)\r\n                            )\r\n//////////////////////////ERROR HERE ///////////\r\n// if I add this statement the index wlill not index documents any more, if removed all ok\r\n// if I check the mappings using the browser, the format of the field will be :dd/MM/yyyy\r\n                            .Date( df=> df.Name( _tdf => _tdf.Modified ).Format(\"dd/MM/yyyy\"))\r\n                        )\r\n                    )\r\n                );\r\n"},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch-net/issues/comments/135303765","html_url":"https://github.com/elastic/elasticsearch-net/issues/1542#issuecomment-135303765","issue_url":"https://api.github.com/repos/elastic/elasticsearch-net/issues/1542","id":135303765,"user":{"login":"KodrAus","id":6721458,"avatar_url":"https://avatars.githubusercontent.com/u/6721458?v=3","gravatar_id":"","url":"https://api.github.com/users/KodrAus","html_url":"https://github.com/KodrAus","followers_url":"https://api.github.com/users/KodrAus/followers","following_url":"https://api.github.com/users/KodrAus/following{/other_user}","gists_url":"https://api.github.com/users/KodrAus/gists{/gist_id}","starred_url":"https://api.github.com/users/KodrAus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KodrAus/subscriptions","organizations_url":"https://api.github.com/users/KodrAus/orgs","repos_url":"https://api.github.com/users/KodrAus/repos","events_url":"https://api.github.com/users/KodrAus/events{/privacy}","received_events_url":"https://api.github.com/users/KodrAus/received_events","type":"User","site_admin":false},"created_at":"2015-08-27T06:08:15Z","updated_at":"2015-08-27T06:08:15Z","body":"@shoushouleb are you saying that your date pattern `dd/MM/yyyy` is indexing as `0001/01/01`?"}}