When searching for a keyword in Pawtucket, the search results include objects that don't have that keyword anywhere, except that there is an object_x_object relationship to a different object that does have the keyword in its title. Both objects get displayed in the search results, even though one of them seems to be mostly irrelevant to the keyword.
Where related objects are desired in search results, this should be limited to specific relationship_type values rather than assuming all related objects are needed.
When searching for a keyword in Pawtucket, the search results include objects that don't have that keyword anywhere, except that there is an object_x_object relationship to a different object that does have the keyword in its title. Both objects get displayed in the search results, even though one of them seems to be mostly irrelevant to the keyword.
https://github.com/collectiveaccess/pawtucket2/blob/85d8e7060215a3a77ed05340181d3ba762fc60e0/app/conf/search_indexing.conf#L202-L207
Where related objects are desired in search results, this should be limited to specific
relationship_type
values rather than assuming all related objects are needed.