storing a scanned (pdf,tiff,jpeg) file in MongoDB .
<p>I have to store a tiff(tag image file format) or pdf scanned file in mongodb that should be Text search able . like if we want to search "on base of text" it should be able to search . </p>

<p>I am going to use .net mvc or java with mongodb . </p>

<p>so how can i store this pdf file and then can retrieve from database . </p>

<p>any suggestion will be appreciated . </p>

<p>thanks   </p>