{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-sdk-for-net/issues/2641","repository_url":"https://api.github.com/repos/Azure/azure-sdk-for-net","labels_url":"https://api.github.com/repos/Azure/azure-sdk-for-net/issues/2641/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-sdk-for-net/issues/2641/comments","events_url":"https://api.github.com/repos/Azure/azure-sdk-for-net/issues/2641/events","html_url":"https://github.com/Azure/azure-sdk-for-net/issues/2641","id":195637094,"number":2641,"title":"Search SDK: SDK 3.0.1 not setting suggesterName","user":{"login":"justinhomes","id":6313888,"avatar_url":"https://avatars.githubusercontent.com/u/6313888?v=3","gravatar_id":"","url":"https://api.github.com/users/justinhomes","html_url":"https://github.com/justinhomes","followers_url":"https://api.github.com/users/justinhomes/followers","following_url":"https://api.github.com/users/justinhomes/following{/other_user}","gists_url":"https://api.github.com/users/justinhomes/gists{/gist_id}","starred_url":"https://api.github.com/users/justinhomes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinhomes/subscriptions","organizations_url":"https://api.github.com/users/justinhomes/orgs","repos_url":"https://api.github.com/users/justinhomes/repos","events_url":"https://api.github.com/users/justinhomes/events{/privacy}","received_events_url":"https://api.github.com/users/justinhomes/received_events","type":"User","site_admin":false},"labels":[{"id":213617858,"url":"https://api.github.com/repos/Azure/azure-sdk-for-net/labels/Search","name":"Search","color":"dddddd","default":false}],"state":"open","locked":false,"assignee":{"login":"brjohnstmsft","id":5523701,"avatar_url":"https://avatars.githubusercontent.com/u/5523701?v=3","gravatar_id":"","url":"https://api.github.com/users/brjohnstmsft","html_url":"https://github.com/brjohnstmsft","followers_url":"https://api.github.com/users/brjohnstmsft/followers","following_url":"https://api.github.com/users/brjohnstmsft/following{/other_user}","gists_url":"https://api.github.com/users/brjohnstmsft/gists{/gist_id}","starred_url":"https://api.github.com/users/brjohnstmsft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brjohnstmsft/subscriptions","organizations_url":"https://api.github.com/users/brjohnstmsft/orgs","repos_url":"https://api.github.com/users/brjohnstmsft/repos","events_url":"https://api.github.com/users/brjohnstmsft/events{/privacy}","received_events_url":"https://api.github.com/users/brjohnstmsft/received_events","type":"User","site_admin":false},"assignees":[{"login":"brjohnstmsft","id":5523701,"avatar_url":"https://avatars.githubusercontent.com/u/5523701?v=3","gravatar_id":"","url":"https://api.github.com/users/brjohnstmsft","html_url":"https://github.com/brjohnstmsft","followers_url":"https://api.github.com/users/brjohnstmsft/followers","following_url":"https://api.github.com/users/brjohnstmsft/following{/other_user}","gists_url":"https://api.github.com/users/brjohnstmsft/gists{/gist_id}","starred_url":"https://api.github.com/users/brjohnstmsft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brjohnstmsft/subscriptions","organizations_url":"https://api.github.com/users/brjohnstmsft/orgs","repos_url":"https://api.github.com/users/brjohnstmsft/repos","events_url":"https://api.github.com/users/brjohnstmsft/events{/privacy}","received_events_url":"https://api.github.com/users/brjohnstmsft/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-12-14T20:27:28Z","updated_at":"2016-12-15T16:17:20Z","closed_at":null,"body":"i have my index and suggester defined as below when creating the index, index is correctly created, suggester is also created by name is left out empty when you look at the azure portal. i am using azure search 3.0.1 sdk\r\n```\r\ni define my index smilar to below\r\n  Definition = new Index()\r\n                {\r\n                    Name = EMRConsts.IndeName,\r\n                    Fields = new[]\r\n                    {\r\n                        new Field(\"BMIPCSId\", DataType.String)\r\n                        {\r\n                            IsKey = true,\r\n                            IsSearchable = true,\r\n                            IsFilterable = true,\r\n                            IsSortable = true,\r\n                            IsFacetable = false,\r\n                            IsRetrievable = true\r\n                        },\r\n                        new Field(\"BMIPCSName\", DataType.String)\r\n                        {\r\n                            IsKey = false,\r\n                            IsSearchable = true,\r\n                            IsFilterable = true,\r\n                            IsSortable = false,\r\n                            IsFacetable = false,\r\n                            IsRetrievable = true\r\n                        },\r\n                        new Field(\"Id\", DataType.Int32)\r\n                        {\r\n                            IsKey = false,\r\n                            IsSearchable = false,\r\n                            IsFilterable = true,\r\n                            IsSortable = false,\r\n                            IsFacetable = false,\r\n                            IsRetrievable = true\r\n                        }\r\n                    },\r\n                    Suggesters = new[]\r\n                    {\r\n                        new Suggester()\r\n                        {\r\n                            Name = EMRConsts.IndeName,\r\n                            SearchMode = SuggesterSearchMode.AnalyzingInfixMatching,\r\n                            SourceFields = new List<string>() {\"BMIPCSName\", \"BMIPCSId\"}\r\n                        },\r\n                    }\r\n                }\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/Azure/azure-sdk-for-net/issues/comments/267369499","html_url":"https://github.com/Azure/azure-sdk-for-net/issues/2641#issuecomment-267369499","issue_url":"https://api.github.com/repos/Azure/azure-sdk-for-net/issues/2641","id":267369499,"user":{"login":"brjohnstmsft","id":5523701,"avatar_url":"https://avatars.githubusercontent.com/u/5523701?v=3","gravatar_id":"","url":"https://api.github.com/users/brjohnstmsft","html_url":"https://github.com/brjohnstmsft","followers_url":"https://api.github.com/users/brjohnstmsft/followers","following_url":"https://api.github.com/users/brjohnstmsft/following{/other_user}","gists_url":"https://api.github.com/users/brjohnstmsft/gists{/gist_id}","starred_url":"https://api.github.com/users/brjohnstmsft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brjohnstmsft/subscriptions","organizations_url":"https://api.github.com/users/brjohnstmsft/orgs","repos_url":"https://api.github.com/users/brjohnstmsft/repos","events_url":"https://api.github.com/users/brjohnstmsft/events{/privacy}","received_events_url":"https://api.github.com/users/brjohnstmsft/received_events","type":"User","site_admin":false},"created_at":"2016-12-15T16:17:20Z","updated_at":"2016-12-15T16:17:20Z","body":"@justinhomes I'm unable to reproduce this problem. Can you please clarify a few things?\r\n\r\n- When you created the index above with the suggester, did you try retrieving it using the SDK? If so, was the suggester name set in the `Index` object returned by `Indexes.Get`?\r\n- Are you still able to reproduce this problem? If so, please post a screenshot of what you observe in the Azure portal.\r\n- Besides deleting and re-creating your service, did you change anything else about the code that creates the index?\r\n- Did you try deleting and re-creating just the index before you deleted and re-created the service?\r\n\r\nPlease provide as much info as you can so we can diagnose this problem.\r\n\r\nThanks!"}}
{"actor":{"display_login":"brjohnstmsft"}}