Problem/Motivation
This module works by using a SearchApiProcessor plugin which acts in the 'add_properties' processing stage to add further properties to the SearchAPI 'General' datasource.
However, these are given labels which are just the field label.
If a search index has multiple datasources for multiple entity type, and some of these fields have the same label, it is not possible to determine which is the correct field.
Even if the field labels are different, it is still confusing and difficult to try to identify the correct field:
$file_elements[$property->getName()] = $property->getLabel();
This can produce several items that just say, for example:
> Search api attachments: Media
Steps to reproduce
Proposed resolution
Add the datasource label, and if the property is being obtained over a media reference, specify that too.
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork search_api_attachments-3621434
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
joachim commentedComment #4
joachim commentedThough actually -- this might be intentional, as fields aren't distinguished by entity type. Though that is perhaps a bug in itself.
Comment #5
izus commentedThanks, this is now merged
Comment #7
izus commentedand released 10.0.11