My web application(http://www.tyro.in) let开发者_如何学运维s users share their Documents like Ms word and pdf openly. Users can search and download the documents uploaded by other users. Currently app use the following technique
When user uploads any file:
It extracts text from document and stores in database. It stores file name as title of that DB record.
When user search for a file:
It matches the query with the stored data present in the Database and shows the results for download
current implemented technique in graphically given at http://www.tyro.in/Tyro.png
Any one suggest me the advancement of my current method
Try this:
http://dev.mysql.com/doc/refman/5.1/en/fulltext-search.html
But I never had time to try.
suggestions for searching info:
- use full text search in the name and description fields
- categorize the documents (by file type, user, info, size)
- add info about popular searchs and most downloaded documents
- let users rank documents so they can be easily found
- let users share documents (via email, social networks)
if i have more ideas, i'll let you know
I'd recommend a short preview of file upon search, to avoid unnecessary downloads - will gain both users and your bandwidth.
regards, /t
精彩评论