schema.xml (part related to my question):
<field name="question" stored="true" type="text" multiValued="false" indexed="true"/> <field name="question_highlight" stored="true" type="string" multiValued="false" indexed="true"/> </fields> <copyField source="question" dest="question_highlight" />
Notes: I have stop words for fieldType: text
When I index a document, I pass the question box now when I try to search for this query
select?q=question:have fever&hl=true&hl.fl=question_highlight
knowing that the word has been included in my stop-word list, the word has not been highlighted in the results. How can I fix this? I need to highlight stop words, I checked this Solr message , highlighting without stop words for phrases? , so I set question_highlight as a string, but it still doesn't work
source share