I can't send URL's cause it's a private network.
Ok...
it's this.
Users will upload documents in various formats. (word, wordperfect, pdf, etc) using PHP into a mySQL database.
Some of these will be extremely large and for some reason to optimize the database (i'm still new and didn't do this part nor totally understand why only that it's faster and more effective) the huge ones are being broken into binary chunks and stored (BLO😎 in different rows of the database.
So Along comes me.
And My task is to build a search, with php and mySQL allowing users to search text in the documents. For instance,a word doc has "Running snail" In it.
The user types in "Running snail" in the search, and will get the result according to those two words being found in that document stored in the database.
This is the problem.
Say the document was one of the huge ones. And Running was in the first chunk, snail in the second.
It would give that result, but it would also give anything with "Running" and anything with "snail" in it.
Therefore the results would be more of an OR query rather then an AND query... (this part isn't making sense in my explanation).
So...
what's the best possible way to get around the chunk issue, while still allowing users to search for text in a stored document (word or wordperfect) and not taking too long?