Sorry but I beg to differ, try opening a PDF, DOC, or XLS file in a text editor, it would just be a jumble with no plain text. Below is what you would see if you opened a Word doc in a text editor, as you will see it's not plain text:-
»Ó$˜ýÃîTÛ·w-ˆjÒƒÇùæ›ß|ìzs°ƒzç˜zï*X%(vÚ›Þµ¼6O‹{PIȼ㠎œ`S___x ÉC©ëCRÙÅ¥ :‘ð€˜tÇ–Rá»ÜÙùhIò3¶H¿Q˸*Ë;Œ¿= yª© nÍ ¨æòæyo¿Ûõš½Þ[vrfòAØ6‹3[”>_£Š-KÆëç\NH!ð<Ñêr¢¿¯EËB†„PûÈÓ<_Š) åå@ó?é|øh0GtÊvŠæö?iô>‰·3ñœ4ßH8ú˜õ' ÿÿ |
Attachments/Uploads are not stored in the database so you could not use SQL server to search them.
Windows may be able to search word documents etc. but web applications don't work like a desktop application, they don't have access to many things that you see running on your desktop.
Yes it would be nice to be able to search Word Documents and PDF's and trust me this has been looked into before and a great deal of time spent on it, but it is simply not possible with just ASP.
As I mentioned earlier you may find a component that does allow ASP to do this, but we have not come across one yet that does.
If you do find a component that allows ASP to search PDF's, Word Doc's etc. let me know, I would love to find one that does do this. You may then see support for it in future releases, but at the current time I have not seen any.
Edited by WebWiz-Bruce - 03 June 2008 at 6:34pm