Skip to content

[did2 #8] ndi.query legacy path translator #781

@stevevanhooser

Description

@stevevanhooser

Part of the NDI-matlab did2 migration. Target branch: Vnext.

Scope

ndi.query('probe_location.ontology_name', 'exact_string', 'X') must still find docs whose stored shape is V_delta. The query path must be translated to probe_location.location.node before hitting do_search (and before being shipped over the wire to the cloud).

  • In ndi.query (or wherever searchstructure is finalized), translate any legacy path appearing in the ndi.compat.fieldAliases table to its V_delta counterpart.
  • Handle depends_on.iddepends_on.value.
  • Identity behavior for paths not in the table.
  • Apply the translation client-side; the cloud receives only V_delta paths and uses its existing V_delta-side indexes.

Out of scope

Cloud-node awareness of legacy aliases. The translation is purely client-side.

Dependencies

Issue 5 (alias table).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions