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

Re: Tagging

2007-02-16 Thread Chris Hostetter
: I explicitly asked on java-user once, "Hey, how does/can this thing : workblah blah", but got no responses. As far as I know, Chuck is : the only ParallelReader users. :) my understanding is that ParallelReader only makes sense if you truely are building both indexes in sync -- keeping the

highlight search keywords on html page

2007-02-16 Thread nick19701
With solr, I can generate a list of links containing highlighted fragments. After a user clicks a link, I will fetch the stored and not-indexed html from solr and return it to user. But I want search keywords within the html to be highlighted just like google. I'm wondering what people are using t