Skip to content

Map index name to document #2112

Closed
@mirco-romagnoli

Description

@mirco-romagnoli

We're using a date index name processor to point a document to the right index based on a document's date field value.
After saving the document we need to get it again from Elasticsearch to read some fields that are filled by an ingestion pipeline.
The issue is that after the save we don't know the index name where the document has been saved.
Could it be possible to add a @Index annotation that maps the document's index name on the Java field?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions