Class SearchConfig
The SearchConfig class provides a configuration class for Search.
Inheritance
System.Object
SearchConfig
Namespace: DotNetNuke.Services.Search
Assembly: DotNetNuke.dll
Syntax
public class SearchConfig : object
Constructors
| Improve this Doc View SourceSearchConfig(Dictionary<String, String>)
Initializes a new instance of the SearchConfig class.
Declaration
public SearchConfig(Dictionary<string, string> settings)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<System.String, System.String> | settings |
SearchConfig(Int32)
Initializes a new instance of the SearchConfig class.
Declaration
public SearchConfig(int portalID)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | portalID |
Properties
| Improve this Doc View SourceSearchIncludeCommon
Gets a value indicating whether to include Common Words in the Search Index.
Declaration
public bool SearchIncludeCommon { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
Defaults to False.
SearchIncludeNumeric
Gets a value indicating whether to include Numbers in the Search Index.
Declaration
public bool SearchIncludeNumeric { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
Defaults to False.
SearchMaxWordlLength
Gets the maximum Search Word length to index.
Declaration
public int SearchMaxWordlLength { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
Defaults to 25.
SearchMinWordlLength
Gets the maximum Search Word length to index.
Declaration
public int SearchMinWordlLength { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
Defaults to 3.