id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
6918	Extension of Search to linked pages, documents or attachments	mem	anybody	\r\n=== Extended search function ===\r\n\r\nIt would be exceptionally useful to be able to extend the search to look inside attachments and links and to control the depth of the search.  By this I mean that the search would allow for \r\n * a link (depth 1);\r\n * a link within a link (depth 2);\r\n * a link within a link  within a link (depth 3);\r\n * etc\r\nto be indexed within the search.\r\n\r\nFor example I make a link to a page outside my trac setup and on this page there is a pdf file linked, like \r\n[http://www.federalreserve.gov/pubs/bulletin/2010/default.htm#legal Federal Reserve] which contains links including a pdf file [http://www.federalreserve.gov/pubs/bulletin/2010/pdf/legalq409.pdf].  For example, I could search for "FDIC"  and it would turn up in this paper.\r\n\r\nIf the external search depth were 2 then the search function would search external links down two levels and include the text FDIC within the pdf document as shown.   The unix program lynx is able to recursively locate links to a specified depth.    The hack would have to do something similar and then index the pages and files (of allowed types) to be included within the search.  It might be most efficient to recognise if the link has changed (either by date or by some hash based upon the data) and only try to index it if it is new or changed.\r\n\r\nThe beauty of this is that it extends the search from just the trac website to the local nodes of the network and would allow information on adjacent sites specified by links to be searched.\r\n\r\nThe same search could be extended to attached files too.\r\n\r\n\r\n\r\n	enhancement	new	normal	Request-a-Hack	normal		Search Links Recursive		0.11
