I am using SOLRCloud 4.1 
I have a document as follows

<tag>car</tag>
<body>this is a body of the document that talks about vehicles</body>

When this gets indexed i create copy the content to the "text" default
field.

results in:text field for this doc

<str>car </str>
<str>this is a body of the document that talks about vehicles</str>


when i search for "car" and have the hit highlighting turned on , this
document appears in the results, but the highlighted fragment is only "car".
Even though i change the fl.fragment to a maximum number without any luck.

 I know the results returned is correct but i just want to add static
content if the hit highlighter only shows string of the size of less than 10
for example. I currently do this in the front end to append the body field
if the highlighter has a smaller fragment.


Is there any option to do this in the SolrConfig itself?





--
View this message in context: 
http://lucene.472066.n3.nabble.com/SOLRCloud-dynamic-teaser-hit-highlighting-tp4048930.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to