Skip to content
This repository has been archived by the owner on Oct 29, 2021. It is now read-only.

Commit

Permalink
Switching to 2015-02-28-Preview API
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxMelcher committed Jun 6, 2015
1 parent ddc3cbb commit 8d3bb8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AzureSearchTool/SearchModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class SearchModel : INotifyPropertyChanged
private string _service = "MaxMelcher";
private string _apiKey = "B98A05BCCACF2A0BA020FE6299CD4AA1";

private string _apiVersion = "2015-02-28";
private string _apiVersion = "2015-02-28-Preview";
private const string BaseUrl = "search.windows.net";

public string Service
Expand Down Expand Up @@ -256,7 +256,7 @@ public DataTable SearchResults
public async void Connect()
{
//todo handle timeout here
//https://maxmelcher.search.windows.net/indexes?api-version=2015-02-28
//https://maxmelcher.search.windows.net/indexes?api-version=2015-02-28-Preview

string indexUrl = string.Format("https://{0}.{1}/indexes?api-version={2}", Service, BaseUrl, ApiVersion);

Expand Down

0 comments on commit 8d3bb8d

Please sign in to comment.