Skip to content

[FEATURE] Query Tool: Enhance URI completion #209

@fbaligand

Description

@fbaligand

Is your feature request related to a problem? Please describe.
Currently, query tool (in Connect tab) is great, but URI completion can be enhanced, be more accurate and complete.

Describe the solution you'd like

  • suggest existing index names in current connection (in addition to API actions like _search)
  • do not suggest "root" API actions that do not exist: _doc, _local, _only_node:, _prefer_node:, _primary, _primary_first, _shards:
  • do not suggest "root" API actions that do not exist: _doc, _local, _only_node:, _prefer_node:, _primary, _primary_first, _shards:, count (without leading _), dfs_query_and_fetch, dfs_query_then_fetch, index, indices, preference, query_and_fetch, query_then_fetch, scan, search_type, stats, type, types
  • when some index has been written with a trailing /, (say GET my_index/), suggest only API actions compatible with that case. So _search, _mapping, _settings are great. But these ones should be removed: _aliases, _cat, _cluster, _local, _nodes
  • ideally, suggest only API actions compatible with chosen HTTP method. For instance, don't suggest "_bulk" when GET HTTP method has been written.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions