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

Kylehuynh205 search highlight #3

Conversation

rosiel
Copy link

@rosiel rosiel commented Jul 6, 2023

This changes the unnamed full-text-highlighting field to be:

  • only showing full text (from the Reverse reference: Media using Media of » Edited Text (field_edited_text) field)
  • named "Full text"
  • not show up if there's no full text

It changes the rest of the fields in the solr view to use highlighting too, and makes sure that if your term crosses a trimming boundary that the <strong> html won't get cut off.

Sorry about the lock file and the fact that we're still using playbook-based values here - that's the "localhost" line.
Screenshot 2023-07-06 at 9 44 09 AM

@kylehuynh205
Copy link
Owner

It looks good to me, @rosiel. Thanks.

@kylehuynh205 kylehuynh205 merged commit 5a7e753 into kylehuynh205:search_highlight Jul 10, 2023
@rosiel rosiel deleted the kylehuynh205-search_highlight branch July 11, 2023 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants