Sitecore 5.0 API

Index Class

Represents an index in a database.

For a list of all members of this type, see Index Members.

System.Object
   Sitecore.Data.Indexing.Index

[Visual Basic]
Public Class Index
[C#]
public class Index

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

An index enables Sitecore to locate items with common properties fast. An index is analogous to indexes in a SQL database.

To retrieve an item using an index, use the Search method. This methods accepts a query string in DotLucene format and a database to search. The result is an array of Hits.

Requirements

Namespace: Sitecore.Data.Indexing

Assembly: Sitecore.Kernel (in Sitecore.Kernel.dll)

See Also

Index Members | Sitecore.Data.Indexing Namespace