Hi, I'm trying to create a highlight search component using the Config API of Solr 6.0.1 however I cannot figure out how to include the elements fragmenter, formatter, encoder, etc...
Let's say I have the following component: <searchComponent class="solr.HighlightComponent" name="myHighlightingComponent"> <highlighting> <fragmenter name="gap" default="true" class="solr.highlight.GapFragmenter"> <lst name="defaults"> <int name="hl.fragsize">100</int> </lst> </fragmenter> <formatter name="html" default="true" class="solr.highlight.HtmlFormatter"> <lst name="defaults"> <str name="hl.simple.pre"><![CDATA[<em>]]></str> <str name="hl.simple.post"><![CDATA[</em>]]></str> </lst> </formatter> <encoder name="html" class="solr.highlight.HtmlEncoder" /> </highlighting> </searchComponent> >From what I can see from the documentation my JSON should look a bit like this: { "add-searchcomponent":{ "name":"myHighlightingComponent", "class":"solr.HighlightComponent", ?? } } However I have no idea how to defines the 2 fragmenters or the encoder. Any help is appreciated. Thanks Alex