Skip to content

Support join query based on refid field #2

@takesson

Description

@takesson

The refid field contains index IDs. They can be a mix of references to specific revisions and latest revision.

It would be very useful to be able to make a single query that returns all references / dependencies. Currently, it seems difficult because there is no ID field that contains both latest and revision-specific IDs.

  • id: always revision-specific
  • idhead: always latest, interestingly, this field remains even when head=false.
  • Could perhaps be useful, if possible to design a query that resolves graphics baseline.

I propose a new field:

  • idjoin: multivalue field that can contain one or two IDs
  • head=true: contains both id and idhead value (item can be referenced in 2 ways)
  • head=false: contains only id (item can only be referenced with revision)

Vital question: Can indexing update the idjoin field when setting head=false? There are certain limitations to what updates can do.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions