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

Snippets issues #863

Open
2 tasks
ShanaLMoore opened this issue Oct 30, 2024 · 2 comments
Open
2 tasks

Snippets issues #863

ShanaLMoore opened this issue Oct 30, 2024 · 2 comments
Labels
M3 Milestone 3

Comments

@ShanaLMoore
Copy link

ShanaLMoore commented Oct 30, 2024

Summary

In the Universal Viewer, we are seeing each annotation duplicated, and when a search carries through from the catalog search, it does not go to the first page with the search word.

The solr results that are used in the search response is returning data from all levels that contain all_text_tsimv (parent work, child work, and file_set). When using the cat scan pdf, the resulting `solr_response['highlighting' ] is triplicated.

(byebug) solr_response['highlighting']
{"b701a417-1982-4d2b-898d-25259b79b639"=>{"all_text_tsimv"=>["PLEASE STARE INTO MY EYES FOR ONE MINUTE -a aL a B Wi ed] or geet © YOUR <span class='highlight'>CAT</span>-SCAN IS NOW COMPLETE"]}, 
"393ecfe5-4a41-4e10-a157-20e9e4855e8c"=>{"all_text_tsimv"=>["PLEASE STARE INTO MY EYES FOR ONE MINUTE -a aL a B Wi ed] or geet © YOUR <span class='highlight'>CAT</span>-SCAN IS NOW COMPLETE"]},
"0e73e128-a9dd-4ff1-bcae-a1adcecb57e3"=>{"all_text_tsimv"=>["PLEASE STARE INTO MY EYES FOR ONE MINUTE -a aL a B Wi ed] or geet © YOUR <span class='highlight'>CAT</span>-SCAN IS NOW COMPLETE"]}}

Acceptance Criteria

  • Annotation hits and locations are not duplicated
  • Universal viewer goes to the first found result

Screenshots or Video

Testing Instructions

To be filled out by dev

Notes

@ShanaLMoore ShanaLMoore added the M3 Milestone 3 label Oct 30, 2024
@laritakr laritakr changed the title ocr highlights more than it should Snippets issues Oct 31, 2024
@jillpe
Copy link

jillpe commented Feb 13, 2025

I'm not seeing duplicates anymore but UV is not going to the page with the first result

@laritakr
Copy link
Contributor

Also, counts are still off, and the previous-next options aren't working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
M3 Milestone 3
Projects
Status: No status
Development

No branches or pull requests

3 participants