{"id":15422603,"url":"https://github.com/heaths/azure-sdk-search-migration","last_synced_at":"2025-10-06T12:58:43.923Z","repository":{"id":145642316,"uuid":"302514221","full_name":"heaths/azure-sdk-search-migration","owner":"heaths","description":"Migration from track 1 to track 2","archived":false,"fork":false,"pushed_at":"2020-10-09T02:45:25.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-01T10:16:44.624Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":false,"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/heaths.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2020-10-09T02:38:19.000Z","updated_at":"2020-10-09T02:45:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"3544184e-6e88-4357-add1-d47f898322e2","html_url":"https://github.com/heaths/azure-sdk-search-migration","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"f8f687dc4eab2b12301f931db641d32e231ed78a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2Fazure-sdk-search-migration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2Fazure-sdk-search-migration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2Fazure-sdk-search-migration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2Fazure-sdk-search-migration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heaths","download_url":"https://codeload.github.com/heaths/azure-sdk-search-migration/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239979006,"owners_count":19728444,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-01T17:39:00.750Z","updated_at":"2025-10-06T12:58:38.885Z","avatar_url":"https://github.com/heaths.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Azure Cognitive Search Migration Sample\n\nThis is a simple sample designed to create indexes, ingest documents, and query documents in Microsoft.Azure.Search,\nand query those same documents in Azure.Search.Documents using the following support packages:\n\n* [Microsoft.Azure.Core.NewtonsoftJson](https://www.nuget.org/packages/Microsoft.Azure.Core.NewtonsoftJson)\n* [Microsoft.Azure.Core.Spatial](https://www.nuget.org/packages/Microsoft.Azure.Core.Spatial)\n* [Microsoft.Azure.Core.Spatial.NewtonsoftJson](https://www.nuget.org/packages/Microsoft.Azure.Core.Spatial.NewtonsoftJson)\n\n## Getting started\n\nTo begin, create a new resource group and deployment:\n\n```bash\n# Assumes you're already connected\naz group create -g my-resourceGroup-name -l westus2\naz group deployment create -g my-resourceGroup-name --template-file deployment.json --parameters serviceName=mySearchService\n```\n\nThat will dump the Search endpoint, admin key, and query key you'll need below (you can also use the `\u003cadmin key\u003e` in both invocations):\n\n```bash\ndotnet run -p src/Track1/Track1.csproj -- --endpoint https://mySearchService.search.windows.net --key \u003cadmin key\u003e\ndotnet run -p src/Track2/Track2.csproj -- --endpoint https://mySearchService.search.windows.net --key \u003cquery key\u003e\n```\n\nIn both invocations you should see output like the following:\n\n```text\nhttps://www.bing.com/maps?cp=46.85287~-121.76044\u0026sp=point.46.85287_-121.76044_Mount%20Rainier\n```\n\nIt's possible in the first invocation you will not if indexing takes longer than the `--wait` specified (default of 2 seconds), but if you run it again the index won't be created again and you should see the output.\n\nWhen you're finished, you can simply delete the whole resource group:\n\n```bash\naz group delete -g my-resourceGroup-name\n# You'll be prompted for confirmation\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheaths%2Fazure-sdk-search-migration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheaths%2Fazure-sdk-search-migration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheaths%2Fazure-sdk-search-migration/lists"}