The Management Studio's Indexes screen displays a list of all the available indexes in the database.
An Index
in RavenDB is a map or map and/or reduce/transform query written in LINQ. The Mapping expression gathers the set of data to query. The Reduction function (which is optional) will "reduce" the map by a set of criteria or transformations. Think of map simply as the selector for all the data that your query cares about. The reduce expression is then performed on the map data to group or summarize it.
In RavenDB, Indexes
might have one or more map function; the Reduce
function is not required but an Index
might have only one Reduce
function. When using the RavenDB 2.0, only one Transform
function is permitted and more than one in RavenDB 2.5.
Note
RavenDB Indexes, Map/Reduce/Transform
, will be discussed in detail in Chapter 5, Advanced RavenDB Indexes and Queries.
The general idea is that we create a LINQ query that returns the data elements that should...