目前,在建立知识库过程中,对文件信息的最佳储存和索引方式有点不确定。
The user uploads the document and when doing so selects a number of options from dropdown lists (such as category,topic,area..., note these are not all mandatory) they also enter some keywords and a description of the document. At the moment the category (and others) selected is stored as foreign key in the documents table using the id from the categories table. What we want to be able to do is do a FREETEXTTABLE or CONTAINSTABLE on not only the information within the varchar(max) column where the document is located but also on the category name, topic name and area name etc.
我审视了形成指数化观点的备选办法,但由于LEFT JOIN对类别一栏的改动,这一假设是可能的。 因此,我不敢肯定,如何做到这一点,将受到高度赞赏。