RE: how to all documents from

2008-02-29 Thread sandyg
Thanks for the immediate response Shailendra Sharma u had saved a lot of my time . Once again thanks for ur reply Shailendra Sharma wrote: > > Create a match all docs query like following: > MatchAllDocsQuery matchAllDocsQuery = new MatchAllDocsQuery(); > And then search as you search for

RE: how to all documents from

2008-02-29 Thread Shailendra Sharma
Create a match all docs query like following: MatchAllDocsQuery matchAllDocsQuery = new MatchAllDocsQuery(); And then search as you search for any other query - searcher.search(matchAllDocsQuery) - it returns hit Thanks, Shailendra -Original Message- From: sandyg [mailto:[