Skip to content

[FEATURE] Return alias and datastream in ListIndexTool #56

@ssunno

Description

@ssunno

Is your feature request related to a problem?

I think ListIndexTool should also return aliases and data streams. In OpenSearch, data can be queried not only from indices, but also from aliases and data streams.

Here’s why I prefer including them in ListIndexTool rather than creating separate tools:

  1. Having multiple tools that look similar may confuse the LLM.
  2. Aliases and data streams have backing indices, which could already appear in the list returned by ListIndexTool. However, querying the backing indices directly may go against the original design intent.
  3. Managing them together allows us to clearly distinguish between indices, aliases, and data streams. It also helps reduce duplication and better reflect the intended index design.

What solution would you like?

ListIndexTool returns aliases and data stream. Eliminate backing indices from the _cat/indices.

What alternatives have you considered?

Make ListAliasTool, ListDatastreamTool. But it look similar with ListIndexTool and confused.

I'm not sure this is really useful. Please feel free comment if you have better idea !

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions