-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #46 from FrankieTF/frankUpdate
Updated all except DotNetSample, DotNetHowToAutocomplete, DotNetHowTo…
- Loading branch information
Showing
21 changed files
with
679 additions
and
574 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"SearchServiceName": "Put your search service name here", | ||
"SearchServiceAdminApiKey": "Put your primary or secondary API key here" | ||
"SearchServicEndpoint": "Your Search Service Endpoint", | ||
"SearchServiceAdminApiKey": "Your Search Service Admin APikey" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,22 @@ | ||
using System; | ||
using Microsoft.Azure.Search; | ||
using Microsoft.Azure.Search.Models; | ||
using Newtonsoft.Json; | ||
using Azure.Search.Documents.Indexes; | ||
|
||
namespace AzureSearch.SDKHowTo | ||
{ | ||
public partial class Address | ||
{ | ||
[IsSearchable] | ||
[SearchableField(IsFilterable = true)] | ||
public string StreetAddress { get; set; } | ||
|
||
[IsSearchable, IsFilterable, IsSortable, IsFacetable] | ||
[SearchableField(IsFilterable = true, IsSortable = true, IsFacetable = true)] | ||
public string City { get; set; } | ||
|
||
[IsSearchable, IsFilterable, IsSortable, IsFacetable] | ||
[SearchableField(IsFilterable = true, IsSortable = true, IsFacetable = true)] | ||
public string StateProvince { get; set; } | ||
|
||
[IsSearchable, IsFilterable, IsSortable, IsFacetable] | ||
[SearchableField(IsFilterable = true, IsSortable = true, IsFacetable = true)] | ||
public string PostalCode { get; set; } | ||
|
||
[IsSearchable, IsFilterable, IsSortable, IsFacetable] | ||
[SearchableField(IsFilterable = true, IsSortable = true, IsFacetable = true)] | ||
public string Country { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.