Answer the question
In order to leave comments, you need to log in
Simple key-value storage for documents
Who in what would advise to store documents (Word and other office files?)
What you need:
- the ability to give any document an arbitrary number of attributes and search for them.
- the ability to organize these documents in a hierarchy.
- I would like the ability to somehow compress documents on disk to save disk space, since there are a lot of them.
what is NOT required:
- clustering, sharding and other bells and whistles at this stage
- full-text search
Answer the question
In order to leave comments, you need to log in
Monga? I'm not sure about compression, you can try to zip documents and store them as binary data.
I would advise a regular SQL server (sqlite as an option) a couple of tables (for documents and attributes) and store the documents themselves in archives on your hard drive. For your purpose, this is quite a good option, very common, time-tested and these servers are everywhere.
In windows, starting from winxp, and maybe even earlier, there is a built-in mechanism for assigning attributes to documents, displaying them in Explorer in the form of a table, and searching for them (including full-text). But the list of attributes is determined by the type of file ... in text documents there is an attribute - keywords.
File properties -> summary, display in explorer View -> table (then menu View -> select columns in the table)
ps I'm wondering if anyone has used this mechanism?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question