{"id":14981049,"url":"https://github.com/wioniqle-q/elasticsearch-automapper","last_synced_at":"2026-01-30T14:18:34.759Z","repository":{"id":252152452,"uuid":"839584648","full_name":"wioniqle-q/elasticsearch-automapper","owner":"wioniqle-q","description":"That makes you can easily auto map for elasticsearch types.","archived":false,"fork":false,"pushed_at":"2024-09-30T23:33:08.000Z","size":27,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-03T01:43:28.016Z","etag":null,"topics":["auto","automapper","dotnet","dotnet-core","dotnet9","elasticclientselasticsearch","elasticsearch","indexing","map","mapping"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wioniqle-q.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-08-07T23:16:41.000Z","updated_at":"2025-01-10T21:25:30.000Z","dependencies_parsed_at":"2025-06-02T13:50:40.857Z","dependency_job_id":"e4ce141d-dad4-4427-97c8-e65dd21f9ea6","html_url":"https://github.com/wioniqle-q/elasticsearch-automapper","commit_stats":{"total_commits":14,"total_committers":1,"mean_commits":14.0,"dds":0.0,"last_synced_commit":"195105d57ef3fa3427a59db2325f66ba3e2785dc"},"previous_names":["wioniqle-q/elasticsearch-automapper"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wioniqle-q/elasticsearch-automapper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wioniqle-q%2Felasticsearch-automapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wioniqle-q%2Felasticsearch-automapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wioniqle-q%2Felasticsearch-automapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wioniqle-q%2Felasticsearch-automapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wioniqle-q","download_url":"https://codeload.github.com/wioniqle-q/elasticsearch-automapper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wioniqle-q%2Felasticsearch-automapper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28914012,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T12:13:43.263Z","status":"ssl_error","status_checked_at":"2026-01-30T12:13:22.389Z","response_time":66,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["auto","automapper","dotnet","dotnet-core","dotnet9","elasticclientselasticsearch","elasticsearch","indexing","map","mapping"],"created_at":"2024-09-24T14:02:47.726Z","updated_at":"2026-01-30T14:18:34.729Z","avatar_url":"https://github.com/wioniqle-q.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elasticsearch Auto Mapper\n\n## Description\n**That makes you can easily auto-map for elasticsearch types.**\n\n## Versions\n- **Elastic.Clients.Elasticseach =\u003e 8.15.8**\n- **.NET Version =\u003e 9.0.0-rc.1**\n\n## Example of the code:\n\n```csharp\nvar settings = new ElasticsearchClientSettings(new Uri(\"\"))\n            .Authentication(new BasicAuthentication(\"\", \"\"))\n            .PrettyJson()\n            .CertificateFingerprint(\"\")\n            .DisableDirectStreaming();\n\nvar IndexName = \"\";\nvar client = new ElasticsearchClient(settings);\n\nawait CreateIndexWithMapping(client);\n\nprivate static async Task CreateIndexWithMapping(ElasticsearchClient client)\n{\n    var exists = await client.Indices.ExistsAsync(IndexName);\n    if (exists.Exists)\n        return;\n    \n    var createIndex = await client.Indices.CreateAsync(IndexName, i =\u003e\n    {\n        i.Mappings(m =\u003e\n        {\n            // The model you want to map can be set to T.\n            m.Properties(ElasticAutoMapper.MapToElasticIndex\u003cT\u003e()); \n        });\n    });\n    \n    Console.WriteLine(createIndex.IsValidResponse\n        ? \"Index created successfully with mapping.\"\n        : $\"Failed to create index: {createIndex.DebugInformation}\");\n }\n```\n\n## Custom Attributes:\n```csharp\n[ElasticsearchCustomMapping] =\u003e You can make a custom maps for custom wishes.\n[ElasticsearchIgnore] =\u003e Using this attribute you can write to models that you do not want to be processed.\n[ElasticsearchPropertyName] =\u003e Using this attribute you can set the name of the object in your model without SneakCase.\n[ElasticsearchStringMapping] =\u003e Using this attribute you can say that the object in your model is a KeywordProperty.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwioniqle-q%2Felasticsearch-automapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwioniqle-q%2Felasticsearch-automapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwioniqle-q%2Felasticsearch-automapper/lists"}