confused on how to query inside the admin console

31 views
Skip to first unread message

Pavel

unread,
Nov 11, 2010, 8:51:44 AM11/11/10
to ravendb
Querying inside the admin console.



I understand how Get By Id field works, I place the [entity/ID] in
there to load the entity.

Could you provide me with a simple example on how to use the other
fields...

'Index Name' and 'Linq query'

Thank you,

Pavel

Ayende Rahien

unread,
Nov 11, 2010, 9:02:17 AM11/11/10
to rav...@googlegroups.com
For index queries, you put the index name in the index name field, there is some suggest thingie there to give you the right name.
Then you will have a new text box, where you can type the lucene query on the index

Something like:

Name:Ayende

for linq query, you write the full bore linq query, and then execute it.

Something like:

from doc in docs
where doc.Name == "Ayende"
select doc
Reply all
Reply to author
Forward
0 new messages