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
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:[