I am building a mobile service that require a lot of search queries.
The service is based on MySQL data system, and search query is not enough to make a fast search service.
Therefore, I decided to use inverted indexing system:
index Documents
1 a, b, c, d, e, f, g, h
2 c, k, i, j, k
This is a simple construction for the inverted indexing system.
I assume that there will be more than thousand documents for one row.
I am not sure what kind of type and length that I should use for the 'Documents' column?
I selected VARCHAR(100000) for now. Is it possible to set the length like 9999999?