The SearchPath class is used to reference a data source or a location in a data source path hierarchy.
One or more SearchPath instances may be passed along as a part of the SearchParameters class.
Inheritance Hierarchy
Ankiro.SearchServer.Data.Search SearchPath
Namespace: Ankiro.SearchServer.Data.Search
Assembly: Ankiro.SearchServer.Data (in Ankiro.SearchServer.Data.dll) Version: 1.13.770.19207 (1.13.770.19207)
Syntax
The SearchPath type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | SearchPath | Initializes a new instance of the SearchPath class |
Methods
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
![]() | DataSourceId |
The id of the data source referenced by this search path.
|
![]() | ForeignId |
The foreign id of the specific DataSourcePathSegment referenced by this search path.
If ForeignId is null or empty, the SearchPath specifies the entire data source specified by DataSourceId.
|
![]() | SearchBehavior |
The search behavior to apply to the references search path, i.e. should documents contained within the path
hierarchy be searched or not, and should this apply recursively.
The search behavior defaults to 'Include', specifying that documents contained within the data source path segment sub-tree should be searched.
|
![]() | Weight |
The optional weight to apply to documents matched within the specified part of the data source path hierarchy. If specified, the relevance
ranking weight of matched documents within the specified section of a path hierarchy is multipled with the specified search path weight.
|
See Also