Skip to content

Indexes on array properties #52

Description

@michael

For Lens I'd like to access all figure_refs for a given node. So I'd have to tell the index that it should take the nodeid which corresponds to the first element from path.

  "figure_refs_by_node": {
    "type": "figure_reference",
    "properties": ["path[0]"] // no idea how to specify that
  }

Desired usage:

doc.find('figur_refs_by_node', 'paragraph_12');

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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