Interface ISearchDocument

Provider Independent Search Document Interface that used to store fields for indexing. Each provider can implement it's own version.

Namespace: Mediachase.Search
Assembly: Mediachase.Search.dll
Version: 10.8.0
Syntax
public interface ISearchDocument

Properties

FieldCount

Gets the field count.

Declaration
int FieldCount { get; }
Property Value
Type Description
System.Int32

The field count.

Item[Int32]

Gets the ISearchField at the specified index.

Declaration
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
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
void Add(ISearchField field)
Parameters
Type Name Description
ISearchField field

The field.

RemoveField(String)

Removes the field.

Declaration
void RemoveField(string name)
Parameters
Type Name Description
System.String name

The name.