Re: highlight search keywords on html page

2007-02-20 Thread nick19701
Chris Hostetter wrote: > > i'm not really sure that Solr can help you in this case ... it only know > about the data you give it -- if you want it to highlight the raw html of > hte entire page, then you're going to need to store the raw html of hte > entire page in the index. > > you can still

Re: highlight search keywords on html page

2007-02-18 Thread Chris Hostetter
: 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

Re: highlight search keywords on html page

2007-02-16 Thread nick19701
Chris Hostetter wrote: > > 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

Re: highlight search keywords on html page

2007-02-16 Thread Chris Hostetter
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