scientist-softserv / adventist_knapsack

Apache License 2.0
2 stars 0 forks source link

Snippets issues #863

Open ShanaLMoore opened 3 weeks ago

ShanaLMoore commented 3 weeks ago

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

Screenshots or Video

Testing Instructions

To be filled out by dev

Notes