Menu

#18 Getting Search to Return Context/Excerpt

open
nobody
None
5
2006-10-12
2006-10-12
kehtaqs
No

I have an html page with headlines on it that link to
web pages. TSEP properly indexes the page (I can see
all the words from the page in the index database).
When I search on a term that is in one of the
headlines I only get the name of the main page
containing the headline and not the headline itself. I
have to click the link to the headline page and
manually look for the searched term.

Example
Page headlines.html contains a link and headline like
this:

<a href = http://somelink.com>Giant frogs found in
Washington D.C.</a>

I run TSEP to index the page 'headlines.html' and the
page gets indexed.

I search on "frogs" and the resulting search
says "frogs" found 'x' times and lists the page
name "headlines.html" that I can click and then look
for "frogs" on that page.

Should TSEP be showing the context, in other words the
page title, link and the original headline
phrase "Giant frogs found in Washington D.C....?

Thanks in Advance

Discussion


Log in to post a comment.

MongoDB Logo MongoDB