Skip to content

Support container-level full-text policy configuration #309

In review

Description

Feature request

Provide a supported Shell interface for container-level fullTextPolicy configuration.

create container and mkcon accept an indexing policy, but their inputs and the shared creation interface have no full-text-policy parameter. A full-text index and a container-level full-text policy are separate settings.

Fictitious example

An ExampleShop/Products container needs:

Container policy:

{
  "defaultLanguage": "en-US",
  "fullTextPaths": [
    { "path": "/description", "language": "en-US" }
  ]
}

Indexing policy entry:

{
  "fullTextIndexes": [
    { "path": "/description" }
  ]
}

Passing the indexing policy through --index_policy does not supply the separate container policy. The existing creation command cannot express the complete configuration.

Expected behavior

  • Accept the complete container-level policy through a documented, structured input.
  • Support CLI and MCP, both creation commands, and data-plane/ARM backends.
  • Validate policy shape and surface unsupported account capabilities or languages explicitly.
  • Do not silently drop fields, enable account features, or interpret indexing policy JSON as container policy JSON.
  • Preserve existing-container settings; any update support should have explicit scope and behavior.
  • Document feature prerequisites and add focused tests for policy forwarding and invalid input.

Source evidence

Baseline: v1.3.7-preview.

Activity

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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions