Duplicate epub search results
sethaj opened this issue · comments
Search terms are giving duplicate search result "snippets". Searching nyupress for "star wars" gives duplicate results.
This: https://github.com/mlibrary/heliotrope/blob/master/lib/e_pub/search.rb#L39
Is in the wrong place. Probably should strip out duplicate snippets right before sending the data, maybe around here: https://github.com/mlibrary/heliotrope/blob/master/lib/e_pub/search.rb#L80
Resolved by PR #1822