C# Class TrailFinder.DataModel.SearchService

Show file Open project: Azure-Samples/search-dotnet-windows-phone-cortana-speech

Public Properties

Property Type Description
Facets List
IndexName string
QueryKey string
ServiceName string

Public Methods

Method Description
GeoSearchAsync ( Geocoordinate coordinate ) : Task>
GeoSearchAsync ( Geocoordinate coordinate, string filter = null ) : Task>
SearchAsync ( string searchString ) : Task>
SearchAsync ( string searchString, string filter = null ) : Task>

Private Methods

Method Description
CreateFilter ( string filter ) : string
DoSearchAsync ( string searchString, Microsoft.Azure.Search.Models.SearchParameters parameters ) : Task>

Method Details

GeoSearchAsync() public static method

public static GeoSearchAsync ( Geocoordinate coordinate ) : Task>
coordinate Windows.Devices.Geolocation.Geocoordinate
return Task>

GeoSearchAsync() public static method

public static GeoSearchAsync ( Geocoordinate coordinate, string filter = null ) : Task>
coordinate Windows.Devices.Geolocation.Geocoordinate
filter string
return Task>

SearchAsync() public static method

public static SearchAsync ( string searchString ) : Task>
searchString string
return Task>

SearchAsync() public static method

public static SearchAsync ( string searchString, string filter = null ) : Task>
searchString string
filter string
return Task>

Property Details

Facets public static property

public static List Facets
return List

IndexName public static property

public static string IndexName
return string

QueryKey public static property

public static string QueryKey
return string

ServiceName public static property

public static string ServiceName
return string