Skip to content

Combining results for equivalent matches #14

@ianwdunlop

Description

@ianwdunlop

For any search it is likely that equivalent hits will be returned. By equivalence I mean that the IMS says that one particular URI is for the same thing represented by other URIs. We probably don't want the search to return a hit for each equivalent thing but instead want an amalgamated response which collects the labels and URIs together. So we now have the problem of which URI to return as being the primary one for a search result. The results are ranked according to elastic search and the IRS will just go through them one by one. Therefore the first one it hits will be taken as the primary URI and any other URIs it finds as equivalent to this one as it goes through the search will be added as secondary URIs. The labels for any secondary URIs would also not be used as the overall label for the item. This would mean that the label for this primary URI would be used in the explorer unless we have some rules about what label to use. It will likely mean that items may not be labelled as people expect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions