Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlighting not showing up #197

Open
karindalziel opened this issue Dec 12, 2016 · 4 comments
Open

Highlighting not showing up #197

karindalziel opened this issue Dec 12, 2016 · 4 comments
Labels
Milestone

Comments

@karindalziel
Copy link
Member

https://lewisandclarkjournals.unl.edu/search?utf8=%E2%9C%93&qfield=text&qtext=intestines&commit=Search

Last 4 entries not showing highlighting

@karindalziel karindalziel added this to the 02 Extras milestone Dec 12, 2016
@jduss4
Copy link
Contributor

jduss4 commented Jul 5, 2017

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):

http://cors1601.unl.edu:8983/solr/api_lc/select?q=text%3Aintestines&wt=json&indent=true&hl=true&hl.simple.pre=%3Cem%3E&hl.simple.post=%3C%2Fem%3E

@jduss4
Copy link
Contributor

jduss4 commented Jul 5, 2017

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:

image

@jduss4
Copy link
Contributor

jduss4 commented Jul 31, 2018

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.

@techgique
Copy link
Member

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? 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants