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

On Tuesday, January 3, 2023 at 3:36:38 PM UTC-6 pai...@udel.edu wrote:

> 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 
> <https://wiki.lyrasis.org/display/DSDOC7x/Mediafilters+for+Transforming+DSpace+Content>),
>  
> and we've changed the settings in our discovery.xml file, including the 
> following code snippet from the documentation wiki on customizing hit 
> highlighting) 
> <https://wiki.lyrasis.org/display/DSDOC7x/Discovery#Discovery-Customizinghithighlighting&searchsnippets>.
>  
> 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 
> <https://native-land.ca/maps/territories/lenape/>)
> Morris 118 
> ORCID: https://orcid.org/0000-0001-8076-7356
> pai...@udel.edu
> 302.831.7153 <(302)%20831-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. ***
>
>
> On Fri, Dec 9, 2022 at 12:42 PM Paige Morgan <pai...@udel.edu> wrote:
>
>> 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 
>> <https://wiki.lyrasis.org/display/DSDOC7x/Mediafilters+for+Transforming+DSpace+Content>),
>>  
>> and we've changed the settings in our discovery.xml file, including the 
>> following code snippet from the documentation wiki on customizing hit 
>> highlighting) 
>> <https://wiki.lyrasis.org/display/DSDOC7x/Discovery#Discovery-Customizinghithighlighting&searchsnippets>.
>>  
>> 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 
>> <https://native-land.ca/maps/territories/lenape/>)
>> Morris 118 
>> ORCID: https://orcid.org/0000-0001-8076-7356
>> pai...@udel.edu
>> 302.831.7153 <(302)%20831-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. ***
>>
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/e16f7582-74a5-4adb-a929-7348a3fa30bdn%40googlegroups.com.

Reply via email to