Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
RavenDB 2.x Beginner's Guide

You're reading from  RavenDB 2.x Beginner's Guide

Product type Book
Published in Sep 2013
Publisher Packt
ISBN-13 9781783283798
Pages 356 pages
Edition 1st Edition
Languages
Author (1):
Khaled Tannir Khaled Tannir
Profile icon Khaled Tannir

Table of Contents (21) Chapters

RavenDB 2.x Beginner's Guide
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Getting Started with RavenDB RavenDB Management Studio RavenDB.NET Client API RavenDB Indexes and Queries Advanced RavenDB Indexes and Queries Advanced RavenDB Document Capabilities RavenDB Administration Deploying RavenDB Scaling-out RavenDB RavenDB Profiling RavenDB HTTP API Putting It All Together Pop Quiz Answers Index

Time for action – querying an Index


We will learn to query the TotalOrdersPerCustomer index we have created in the previous section and visualize the query result.

  1. In the Management Studio, select the Indexes tab and click on it to display the Indexes screen.

  2. Click on the TotalOrdersPerCustomer index from the indexes list in order to execute the index and display its result in the Query Index screen.

  3. In the Query Index screen, click on the Query Options button and check the Index Entries to show the index entries instead of the matching documents.

What just happened?

We just queried the TotalOrdersPerCustomer index and modified queries display options to customize the result display. We did this in order to show the index entries instead of the matching documents.

At the bottom of the Results section, there are displayed some statistics and metadata about the query that just has been executed.

Editing an Index

Editing an index in the Management Studio means to bring up the C# code of the Map/Reduce...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}