Working with MongoDB using Apache Gora 0.6 configuration

58 views Asked by At

I'm using MongoDB as Gora backend for my nutch implementation. I have a need to delete some documents from MongoDB. Instead of writing custom class based on Java and MongoDB, I'm trying to see if already existing Gora APIs can be used to do this work. Tried a lot but not much information available. Please let me know your thoughts and any pointers in achieving the same. Mostly this URL has come to rescue however its not helping to full extent. Thanks!

1

There are 1 answers

2
mohan rathour On

Try to use MongoStore.detele method. It takes id as a parameter and return a boolean value. method url