-
Notifications
You must be signed in to change notification settings - Fork 51
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
Show "found in" hints to indicate where search terms were found #5728
Comments
Can wait until previous investigation; will need to look at highlighting in Solr. |
Currently storing transcript as text, not text_en, so stemming is probably not happening. May want to re-consider this. Metadata hits are coming from a field with the entire MODS as text_en. |
Mostly working, but search results are not being returned if there are no hits in the metadata or sections. Hits occurring only in transcript are not getting pushed out as results for the search. Alos need to clean up splitting terms, Solr escaping them. Quoted phrase search should not cause error. |
|
The new query set up to facilitate "Found in" hints and return transcript results adjusted the way that results are returned in the solr document. Previously, I think the entire solr document was being returned. The new query structure explicitly searches for specific fields. A quick audit of the code indicated that the minimum fields that need to be returned for parity with current Avalon are:
Most of these are to make sure that the metadata on the search page is properly filled. |
Created #5903 for not displaying zero-count field results, otherwise this is working as expected in my testing. |
Description
Show "found in" hints to indicate to user if search term(s) were found in:
Done Looks Like
Found in: metadata (5)
Found in: sections (6)
The text was updated successfully, but these errors were encountered: