Skip to content

better index support for AttributeMap #357

Open

Description

@longquanzheng

Today:

An indexed AttributeMap must use an explicit index key. It is not an index over all Map instances. Each instance write updates the same search field, so one instance can replace the value written by another instance. The Map instance key is not searchable.

This does not turn the Map into a KEYWORD_ARRAY. KEYWORD_ARRAY indexes the string array from one write; Dex does not combine the values from all Map instances. After the example below writes the payment instance with value authorized, you can query the current search value with:

Activity

  1. added
    P3Low priority; do when convenient
    size:LA week or more, or needs design
    needs-decisionNeeds an owner decision before implementation
    on Oct 26, 2026
  2. longquanzheng commented on Nov 9, 2026

    @longquanzheng
    ContributorAuthor

    Relabeled after the Go Server was removed in #1059: this request applies to server-zd. The body is a pasted docs fragment and should be rewritten as a self-contained server-zd request before work starts.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low priority; do when convenientarea:docsComponent: docsarea:server-zdComponent: server-zdneeds-decisionNeeds an owner decision before implementationsize:LA week or more, or needs designtype:featureNew capability or API

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions