Snippets not coming in results in Solr 5.3 -


following schema design content field (i have tried using type="text" also).

<field name="content" type="text_general" indexed="true" stored="true" multivalued="false" />  <fieldtype name="text_general" class="solr.textfield" positionincrementgap="100" multivalued="true">   <analyzer type="index">     <tokenizer class="solr.whitespacetokenizerfactory"/>     <filter class="solr.stopfilterfactory" ignorecase="true" words="stopwords.txt" />     <!-- in example, use synonyms @ query time     <filter class="solr.synonymfilterfactory" synonyms="index_synonyms.txt" ignorecase="true" expand="false"/>     -->     <filter class="solr.lowercasefilterfactory"/>   </analyzer>   <analyzer type="query">     <tokenizer class="solr.whitespacetokenizerfactory"/>     <filter class="solr.stopfilterfactory" ignorecase="true" words="stopwords.txt" />     <filter class="solr.synonymfilterfactory" synonyms="synonyms.txt" ignorecase="true" expand="true"/>     <filter class="solr.lowercasefilterfactory"/>   </analyzer> </fieldtype> 

and following query.

q=crime&hl=true&hl.fl=content&hl.requirefieldmatch=true&hl.fragsize=700& hl.snippets=10&hl.usephrasehighlighter=true&facet=true& facet.field=permauid&facet.field=info_owner&facet.sort=count& facet.mincount=1&facet.limit=-1&wt=python&sort=score+asc&start=0& rows=20&fl=uid,permauid 

in result, not getting snippets. getting "highlighting" value of result follows:

highlighting':{'anv355-rw%$$%anv355%$$%1':{},'anv355-rw%$$%anv355%$$%2':{},'anv355-rw%$$%anv355%$$%3':{} 


Comments