Home
TeamSite
Indexing hrefs with search
System
Does anyone know if its possible to tune search to index the urls for links? I'm revisiting one of the perennial topics - link checking, and wondering if I can't accomodate the most common use case by leveraging search.
Basically, if a user is deleting a file, say bubba.jsp, I want to run a query to see if the phrase "bubba.jsp" occurs in any other file. Unfortunately, from my experiments, it looks like the indexer strips out all of the html tags prior to formatting (something that would make sense for most uses), so I get no matching results.
Find more posts tagged with
Comments
nipper
I have done this with MetaTagger, but not the search engine. Was able to attach (very large) EAs with the references and built a ref table.
Migrateduser
That's a great idea. Did you dump the EA into a TEXT column in a table using DAS and search for inbound references with a LIKE query or what? I could just index the EA and use search to look for it, but a db query sounds more efficient - less parsing of the result set.
nipper
Of course it is a great idea. I thought of it. Don't look so surprised.
My example created an EA on the destination with a reference count. You could easily add this to to DB and track it much better. Mine was a POC rather than the finished product.
Andy
Migrateduser
As of now there is no way to configure the search to have the HTML tags (and hence href pointers ) to be indexed for search. One needs to adopt the above suggested approaches (use EA) for these to be searchable.