storing a scanned (pdf,tiff,jpeg) file in MongoDB .

耗尽温柔 提交于 2019-12-04 17:45:25
shA.t

You can store files by using MongoDb GridFs as described in this question and extract texts from a PDF file by using some features those described in this question. ;).

HTH

I think that you should save the files on file system of the server and the path of the file and the string from the file inside of MongoDB, It's more efficient to read the file from the servers filesystem then to load them from MongoDB.

The other option is to save the file as binary data but then you won't be able to search inside the file.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!