I am developing a project where I need to store around 15k Unicode characters. What would be the best way to store this?
The main application is in C# and some other data is stored in a SQL Server DB. This huge amount of text needs to in someway be identifiable by a randomly generated entry key and a category key. Obviously, there may/should be more than one entry that has the same category key.
These entries will be added, retrieved, and also searched using keywords by category key.
I am currently looking at the following 2 ways: (Other ideas more than welcome)
Files
Each category key represented as a folder and each entry as a file using the entry key as the file name.
To search I would just use the Apache Lucene.Net project to build an index and just search by it.
SQL Server
Just stored as another column of type NVARCHAR(MAX)
in a table.
Which of these ways is best? I am looking for other options, and pros/cons about these.