SaaS CMS has officially launched! Learn more now.

Class IndexServerResults

Inheritance
System.Object
IndexServerResults
Implements
System.Collections.IEnumerable
System.Collections.IEnumerator
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: EPiServer.Core.Html
Assembly: EPiServer.dll
Version: 7.19.2
Syntax
[Obsolete("This class is no longer being used, indexing is now handled through the Indexing Service")]
public class IndexServerResults : IEnumerable, IEnumerator

Constructors

IndexServerResults()

Declaration
public IndexServerResults()

Properties

Count

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

CurrentIndex

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

Methods

Add(String, Int32, String, String)

Adds the specified file to the search result.

Declaration
public void Add(string fileCreate, int fileRank, string directory, string fileName)
Parameters
Type Name Description
System.String fileCreate

The DateTime when the file was created.

System.Int32 fileRank

The search ranking.

System.String directory

The directory.

System.String fileName

Name of the file.

Remarks

The modified date on the file will not be correct

Add(String, Int32, String, String, String)

Adds the specified file to the search result.

Declaration
public void Add(string fileCreate, int fileRank, string vpath, string directory, string fileName)
Parameters
Type Name Description
System.String fileCreate

The DateTime when the file was created.

System.Int32 fileRank

The search ranking.

System.String vpath

The vpath.

System.String directory

The directory.

System.String fileName

Name of the file.

Remarks

The modified date on the file will not be correct

Add(String, Int32, String, String, String, String)

Adds the specified file to the search result.

Declaration
public void Add(string fileCreate, int fileRank, string vpath, string directory, string fileName, string charactarization)
Parameters
Type Name Description
System.String fileCreate

The DateTime when the file was created.

System.Int32 fileRank

The search ranking.

System.String vpath

The vpath.

System.String directory

The directory.

System.String fileName

Name of the file.

System.String charactarization

The charactarization.

Remarks

The modified date on the file will not be correct

Add(String, String, Int32, String, String)

Adds the specified file to the search result.

Declaration
public void Add(string fileCreate, string lastModified, int fileRank, string directory, string fileName)
Parameters
Type Name Description
System.String fileCreate

The DateTime when the file was created.

System.String lastModified

The DateTime when the file was last modified.

System.Int32 fileRank

The search ranking.

System.String directory

The directory.

System.String fileName

Name of the file.

Add(String, String, Int32, String, String, String)

Adds the specified file to the search result.

Declaration
public void Add(string fileCreate, string lastModified, int fileRank, string vpath, string directory, string fileName)
Parameters
Type Name Description
System.String fileCreate

The DateTime when the file was created.

System.String lastModified

The DateTime when the file was last modified.

System.Int32 fileRank

The search ranking.

System.String vpath

The vpath.

System.String directory

The directory.

System.String fileName

Name of the file.

Add(String, String, Int32, String, String, String, String)

Adds the specified file to the search result.

Declaration
public void Add(string fileCreate, string lastModified, int fileRank, string vpath, string directory, string fileName, string charactarization)
Parameters
Type Name Description
System.String fileCreate

The DateTime when the file was created.

System.String lastModified

The DateTime when the file was last modified.

System.Int32 fileRank

The search ranking.

System.String vpath

The vpath.

System.String directory

The directory.

System.String fileName

Name of the file.

System.String charactarization

The charactarization.

ToList()

Declaration
public List<PageRank> ToList()
Returns
Type Description
System.Collections.Generic.List<PageRank>

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Retrive enumerator (IEnumerable)

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type Description
System.Collections.IEnumerator

IEnumerator.Current

Current keyword (IEnumerator) Returns the current keyword from one of the public collections.

Declaration
object IEnumerator.Current { get; }
Returns
Type Description
System.Object

IEnumerator.MoveNext()

Move to next keyword (IEnumerator)

Declaration
bool IEnumerator.MoveNext()
Returns
Type Description
System.Boolean

IEnumerator.Reset()

Reset public keyword index (IEnumerator)

Declaration
void IEnumerator.Reset()

Implements

System.Collections.IEnumerable
System.Collections.IEnumerator

Extension Methods