I’m trying to configure a search Result Source on SharePoint but I’m having issues with stemming.
Requirements: 1. I want the search to return results if I search for plural version of a keyword when a singular version of the word exists. For example: Searching for animals should return matches on (Animal and Animals); Searching for Parties should return matches on (Party and Parties, atrocity and atrocities) 2. I want to search a specific list. 3. I want to search specific fields on the list (return results that have the search keyword in one or both fields where it needs to search against). 4. This is part of an Angular 4 application that uses the SharePoint REST API to make the search on the SP list and display the results on the screen.
Issue: When I try setting up the search query without specifying the field, the stemming works properly. The query below returns results for both Animal and Animals
(Path:https://listPathOnSharePointSite) animals (conentclass:STS_ListItem) -ContentClass=urn:content-class:SPSPeople
However, when I specify that I want to search the Title or ‘Abstract’ (custom managed metadata field), the stemming no longer works. The query below returns results for “Animals” only and doesn’t show matches for “Animal”
animals (Path:https://listPathOnSharePointSite) (Title:animals OR Abstract:animals) (contentclass:STS_ListItem) -ContentClass=urn:content-class:SPSPeople
I tried various permutations and combinations in KQL and FQL with no success, and could not find any query builder that could help make the query/filter correctly.
Any help would be great!!!