November Happy Hour will be moved to Thursday December 5th.

Class SearchDocument

Generic Search Document can be used when no specific provider based functionality is needed.

Inheritance
System.Object
SearchDocument
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Search.Extensions
Assembly: Mediachase.Search.Extensions.dll
Version: 12.17.2
Syntax
public class SearchDocument : ISearchDocument

Constructors

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.

Implements