Class SearchDocument
Generic Search Document can be used when no specific provider based functionality is needed.
Inheritance
System.Object
    SearchDocument
  Implements
Namespace: Mediachase.Search.Extensions
Assembly: Mediachase.Search.Extensions.dll
Version: 14.26.0Syntax
public class SearchDocument : Object, ISearchDocumentConstructors
SearchDocument()
Declaration
public SearchDocument()Properties
FieldCount
Gets the field count.
Declaration
public virtual int FieldCount { get; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | The field count. | 
Item[Int32]
Gets the ISearchField at the specified index.
Declaration
public virtual ISearchField this[int index] { get; }Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | index | 
Property Value
| Type | Description | 
|---|---|
| ISearchField | 
Item[String]
Gets the ISearchField with the specified name.
Declaration
public virtual ISearchField this[string name] { get; }Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | name | 
Property Value
| Type | Description | 
|---|---|
| ISearchField | 
Methods
Add(ISearchField)
Adds the specified field.
Declaration
public virtual void Add(ISearchField field)Parameters
| Type | Name | Description | 
|---|---|---|
| ISearchField | field | The field. | 
RemoveField(String)
Removes the field.
Declaration
public virtual void RemoveField(string name)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | name | The name. | 
