Share via


Location members

Represents a federated location.

The Location type exposes the following members.

Constructors

  Name Description
Public method Location(String, SearchServiceApplicationProxy) Initializes a new instance of the Location class based on the specified location name for the specified search application proxy.
Public method Location(String, SearchServiceApplicationProxy, ILocationRuntime) Initializes a new instance of the Location class based on the specified location for the specified search application proxy.

Top

Properties

  Name Description
Public property AllowMissingProperties Gets or sets a Boolean value specifying whether the location should return search results if some properties are missing.
Public property BeExactIfLess Gets or sets the minimum number of results that must be returned after security trimming.
Public property Credentials Gets or sets the user credentials to pass to the federated location.
Public property CurrentUserProfile Gets or sets the user profile to use for the search query.
Public property DefaultOperator Gets or sets the default operator.
Public property EnableNicknames Gets or sets a Boolean value that specifies whether the exact terms in the search query are used to find matches, or if nicknames are used as well.
Public property EnablePhonetic Gets or sets a Boolean value that specifies whether the phonetic forms of the query terms are used to find matches.
Public property EnableStemming Gets or sets a Boolean value specifying whether stemming is enabled.
Public property Exception Gets the exception returned from the federated location.
Public property HitHighLightProperties Gets the list of hit-highlighted properties.
Public property IgnoreAllNoiseQuery Gets or sets a Boolean value that specifies whether the search query should execute if the query text contains only noise words.
Public property ItemsPerPage Gets or sets the number of search results to display per page.
Public property MappedQueryTemplateUrl Gets or sets the URL for the federated location and the search query to execute.
Public property MoreResultsLink Gets or sets the URL for the More Results link.
Public property QueryInfo Get the query log data for a single clickthrough for the search query.
Public property QueryModification Gets or sets the modified query.
Public property RankingModelID Specifies the identifier (ID) of the ranking model to use for the query.
Public property RefinementFilters Gets or sets the set of refinement filters used when issuing a refinement query.
Public property RequestedLanguage Gets or sets the language for the query.
Public property RequestedProperties Gets or sets the list of properties that should be included in the search results.
Public property Result Gets the search result set for the federated location.
Public property ReturnedResults Gets the number of search results returned for the query.
Public property SpellingSuggestion Gets or sets an alternate spelling for a search term that is not recognized.
Public property StartItem Gets or sets the number of the first item returned in the search results.
Public property SupplementaryQueries Gets or sets additional terms to append to the search query.
Public property Timeout Gets for set the query timeout value for the federated location.
Public property TimeZone Gets or sets the time zone for the search query.
Public property TotalResults Gets the total number of search results returned from the federated location for the query.
Public property TotalResultsIncludingDuplicates Gets the total number of search results returned for the query, including duplicate results.
Public property TrimDuplicates Gets or sets a Boolean value that specifies whether duplicate items should be removed from the search results.
Public property TrimExtraProperties Gets or sets a Boolean value that if the search results contain additional properties not specified in the RequestedProperties property, whether the additional properties should be returned or not.
Public property UserQuery Gets or sets the query to send to the federated location.

Top

Methods

  Name Description
Public method Close Releases the resources for the federated location.
Public method Dispose Releases the resources for the federated location.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetResults Retrieves the search results from the federated location.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SendAsyncRequest Sends the search query request asynchronously to the federated location
Public method SendRequest Sends a search query request synchronously to the federated location.
Public method ToString (Inherited from Object.)
Public method Wait Specifies that the query manager should wait for the results from an asynchronous query request until the specified timeout.

Top

See also

Reference

Location class

Microsoft.Office.Server.Search.Query namespace