lucene - Ravendb retrieve all documents in collection for reporting -


i need retrieve documents collection dump excel file.

using seems work

 var lucenequery = session.advanced.lucenequery<test.reduceresult>("test/bytestdata");         var enumerator = session.advanced.stream(lucenequery);          var obj = new list<test.reduceresult>();         while (enumerator.movenext())         {             obj.add(enumerator.current.document);         } 

this gives me results in index. instead of index want retrieve documents in collection (as index not contain information stored in document). how can done?

change query be:

 var lucenequery = session.advanced.lucenequery<test.reduceresult>("raven/documentsbyentityname")     .whereequals("tag", "customers"); 

this give customers.


Comments

Popular posts from this blog

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -