Provide resource type relationship information

Registered by Travis Tripp

Summary
=======
Provide resource type relationship information in plug info

Problem Statement
===============
So far we have not been denormalizing data stored in elasticsearch. We retain the reference ID. In some cases, we may choose to denormalize the data dynamically across plugin-events, in other cases we may not. There is good reason to de-normalize the data (searching by image name would return instances that use that image name and would make the UI much faster [0]). In other cases, all we have is an ID and UI / CLI developers have no way to programmatically display the relationships between resources (perhaps in a topological view).

Description
=========
Searchlight should provide make resource type available for any reference IDs in the search results. This could come from facets or from plugin info.

This will allow UIs and CLIs to explore the data seamlessly.

Parent/child relationships should also be part of this work; it's a special case where a field not only refers to another resource but refers to one that searchlight implements. See also discussion on https://bugs.launchpad.net/searchlight/+bug/1557778.

[0] https://blueprints.launchpad.net/searchlight/+spec/denormalize-nova-image-flavor

Blueprint information

Status:
Complete
Approver:
Travis Tripp
Priority:
Medium
Drafter:
Travis Tripp
Direction:
Approved
Assignee:
Steve McLellan
Definition:
Approved
Series goal:
Accepted for newton
Implementation:
Implemented
Milestone target:
milestone icon newton-rc1
Started by
Lakshmi N Sampath
Completed by
Steve McLellan

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.