You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by tobias roth <to...@gmx.net> on 2012/04/30 23:01:37 UTC

Setting margin in SimpleFragListBuilder from solrconfig

Hi,

Can I set the constructor parameter "margin" of SimpleFragListBuilder
from within solrconfig.xml?

I would suspect that something has to be added to this configuration
element in solrconfig.xml:

<fragListBuilder name="simple"
                       default="true"
                       class="solr.highlight.SimpleFragListBuilder" />

But what and how exactly?
(I'm using solr 3.5 at the moment)

Thanks,
Tobi