Hello,

I'm having a hard time understanding this, and I had this same question.

When using DIH should the HTML field be stored in the raw HTML string field
or the stripped field?
Also what source field(s) need to be copied and to what destination?

Thanks


On Thu, May 3, 2012 at 10:15 PM, Lance Norskog <goks...@gmail.com> wrote:

> Make two fields, one with stores the stripped HTML and another that
> stores the parsed HTML. You can use <copyField> so that you do not
> have to submit the html page twice.
>
> You would mark the stripped field 'indexed=true stored=false' and the
> full text field the other way around. The full text field should be a
> String type.
>
> On Thu, May 3, 2012 at 1:04 PM, srini <softtec...@gmail.com> wrote:
> > I am indexing records from database using DIH. The content of my record
> is in
> > html format. When I use browse
> > I would like to show the content in html format, not in text format. Any
> > ideas?
> >
> > --
> > View this message in context:
> http://lucene.472066.n3.nabble.com/how-to-present-html-content-in-browse-tp3960327.html
> > Sent from the Solr - User mailing list archive at Nabble.com.
>
>
>
> --
> Lance Norskog
> goks...@gmail.com
>

Reply via email to