OK, I'm confused now. You have a DB with thousands of texts in it. You want the user to be able to type in a few key words and the text will appear - not a problem. Or you want the user to type a description of the document? What kind of description are you talking about?
Or do you want the user to add a description of the document to the DB - also not a problem. Is that what you're talking about?
Please clarify
Norm