with
HTMLStripStandardTokenizerFactory I
can actually index html with solr. This is a brand-new idea to me.
--
View this message in context:
http://www.nabble.com/highlight-search-keywords-on-html-page-tf3240492.html#a9057239
Sent from the Solr - User mailing list archive at Nabble.com.
: I was thinking about the same thing. It shouldn't be too difficult to
: subclass SolrRequestHandler and build a special
: HighlightingRequestHandler that uses the builtin highlighting utils to
: do the job. I wonder if it's possible to get access to the http request
: body inside a SolrRequestHa
Gesendet: Montag, 19. Februar 2007 03:00
An: solr-user@lucene.apache.org
Betreff: Re: highlight search keywords on html page
: When a user performs a search, I will return a list of links containing
: highlighted fragments
: from "pageContent". If a link is clicked, I want to return
: When a user performs a search, I will return a list of links containing
: highlighted fragments
: from "pageContent". If a link is clicked, I want to return the associated
: raw html back
: to user AND have search keywords in it to be highlighted, just like google
: cached page.
i'm not really
taining
highlighted fragments
from "pageContent". If a link is clicked, I want to return the associated
raw html back
to user AND have search keywords in it to be highlighted, just like google
cached page.
--
View this message in context:
http://www.nabble.com/highlight-search-keyword
I'm not sure i'm understanding your question ... is it how to highlight a
stored field that has HTML in it, or how to index a chunk of HTML text?
the first should be no difference then highlighting any other bit of text
-- the second can be accomplished using the
HTMLStripStandardTokenizerFactory
using to accomplish this very common task.
--
View this message in context:
http://www.nabble.com/highlight-search-keywords-on-html-page-tf3240492.html#a9007823
Sent from the Solr - User mailing list archive at Nabble.com.