Open karindalziel opened 7 years ago
This doesn't appear to be a problem with the rsolr wrapper or rsolr, I am seeing this behavior in solr's results (scroll to bottom for highlighting):
Search for other words inside of the docs with empty highlighting results highlights correctly. Weirdly, when I try searching for "intestine" in my browser, the following occurs:
I am still totally baffled by this issue, that's my update. All I can think of is that we might want to try reindexing everything to make sure that all of the fields are "stored" in order to get results back, but since we've never really done major schema changes or only updated some of the documents, I don't know as that the field's stored contents are going to help.
That screenshot looks like there is some mismatch in the index offset for where the characters are in the text. No idea how that would happen, but reindexing seems like a good next step. Maybe just reindex a single document and see if that fixes its highlighting? :thinking:
https://lewisandclarkjournals.unl.edu/search?utf8=%E2%9C%93&qfield=text&qtext=intestines&commit=Search
Last 4 entries not showing highlighting