• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

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 Source

SearchConfig(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
| Improve this Doc View Source

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 Source

SearchIncludeCommon

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

SearchMaxWordlLength

Gets the maximum Search Word length to index.

Declaration
public int SearchMaxWordlLength { get; }
Property Value
Type Description
System.Int32
Remarks

Defaults to 25.

| Improve this Doc View Source

SearchMinWordlLength

Gets the maximum Search Word length to index.

Declaration
public int SearchMinWordlLength { get; }
Property Value
Type Description
System.Int32
Remarks

Defaults to 3.

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS