how to all documents from

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

how to all documents from

sandyg
How to retreive all the documents from the index directory
please some one help me yar
Reply | Threaded
Open this post in threaded view
|

RE: how to all documents from

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:[hidden email]]
Sent: Friday, February 29, 2008 4:24 PM
To: [hidden email]
Subject: how to all documents from


How to retreive all the documents from the index directory
please some one help me yar

--
View this message in context:
http://www.nabble.com/how-to-all-documents-from-tp15756174p15756174.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: how to all documents from

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 any other query -
        searcher.search(matchAllDocsQuery) - it returns hit

Thanks,
Shailendra

-----Original Message-----
From: sandyg [mailto:gaddamsandeeps@gmail.com]
Sent: Friday, February 29, 2008 4:24 PM
To: java-user@lucene.apache.org
Subject: how to all documents from


How to retreive all the documents from the index directory
please some one help me yar

--
View this message in context:
http://www.nabble.com/how-to-all-documents-from-tp15756174p15756174.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org