unable to enable full text snippets in searches for DSpace 7.4

35 views
Skip to first unread message

Paige Morgan

unread,
Dec 9, 2022, 12:42:55 PM12/9/22
to DSpace Technical Support
Has anyone running DSpace 7.x been successful in turning on full text snippets in search results?

We've made sure that our Text Extractor Media Filter is turned on (per this documentation), and we've changed the settings in our discovery.xml file, including the following code snippet from the documentation wiki on customizing hit highlighting). We're not concerned about snippets showing up from restricted or embargoed items; that's fine. We've made sure to restart Tomcat.

-<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">

<property name="field" value="fulltext"/>

<property name="maxSize" value="250"/>

<property name="snippets" value="2"/>

<!-- Requested by Paige on 12-6-22 based on DSpace 7.x discovery documentation to try to enable full text snippets for digital collections items.-->

</bean>

Nothing seems to be working. If any of you have successfully enabled full text snippets in 7.4, can you recommend what settings we might want to check?

Thanks so much (and happy Friday!)

Paige

---------------------
Meeting/regular work hours: Monday - Thursday, 9am-5pm; limited email on Friday mornings.

Dr. Paige C. Morgan

(she/her/they)
Digital Publishing and Copyright Librarian,
Head of Digital Initiatives & Preservation
University of Delaware Library, Museums and Press (on Lenape land)
Morris 118
ORCID: https://orcid.org/0000-0001-8076-7356
pai...@udel.edu
302.831.7153

Make an appointment to meet with me: https://calendly.com/paigecm/ (Meetings available via Zoom, phone, etc.)
** I observe email-free evenings and weekends. **

Paige Morgan

unread,
Jan 3, 2023, 4:36:38 PM1/3/23
to DSpace Technical Support
I figured I'd try re-boosting this in the new year, after not hearing from anyone in early December. We've tried a number of things, but we're still having no success turning on full text snippets for searches in DSpace -- and indeed, it doesn't seem like full text searching is enabled at all, and that's a significant concern.

We've made sure that our Text Extractor Media Filter is turned on (per this documentation), and we've changed the settings in our discovery.xml file, including the following code snippet from the documentation wiki on customizing hit highlighting). We're not concerned about snippets showing up from restricted or embargoed items; that's fine. We've made sure to restart Tomcat.

-<bean class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">

<property name="field" value="fulltext"/>

<property name="maxSize" value="250"/>

<property name="snippets" value="2"/>

<!-- Requested by Paige on 12-6-22 based on DSpace 7.x discovery documentation to try to enable full text snippets for digital collections items.-->

</bean>

Nothing seems to be working. If any of you have successfully enabled full text snippets in 7.4, or you've been able to troubleshoot  full text searching, can you recommend what settings we might want to check?

Any recommendations much appreciated -- thanks!

Paige

---------------------
Meeting/regular work hours: Monday - Thursday, 9am-5pm; limited email on Friday mornings.

Dr. Paige C. Morgan

(she/her/they)
Digital Publishing and Copyright Librarian,
Head of Digital Initiatives & Preservation
University of Delaware Library, Museums and Press (on Lenape land)
Morris 118
ORCID: https://orcid.org/0000-0001-8076-7356
pai...@udel.edu
302.831.7153

Make an appointment to meet with me: https://calendly.com/paigecm/ (Meetings available via Zoom, phone, etc.)
** I observe email-free evenings and weekends. **

Tim Donohue

unread,
Jan 13, 2023, 1:58:11 PM1/13/23
to DSpace Technical Support
Hi Paige,

Just a quick answer... I don't believe fulltext snippets are working yet in DSpace 7 (at least I don't think code exists to support this in the UI & I don't recall seeing this working yet).   DSpace 7 *does* support hit highlighting in metadata fields though (e.g. title, author, abstract, etc) in the search results.  (That said there was a bug in the title hit highlighting of 7.4 that we recently fixed & will be in 7.5: https://github.com/DSpace/dspace-angular/pull/1973)

Tim

Reply all
Reply to author
Forward
0 new messages