Skip to content

ReactiveElasticsearchOperations indexName twice endcoding #1665

Closed
@wonwoo

Description

@wonwoo

this example request

public Mono<Void> example(Foo foo) {
   return reactiveElasticsearchOperations.save(foo, IndexCoordinates.of("<foo-{now/M{yyyy.MM}}>")).then()
}

webClient Request url

Expecting : /%3Cfoo-%7Bnow%2FM%7Byyyy.MM%7D%7D%3E/_doc

but : /%253Cfoo-%257Bnow%252FM%257Byyyy.MM%257D%257D%253E/_doc

elasticsearch error log
reason=Invalid index name [%3Cfoo-%7Bnow%2FM%7Byyyy.MM%7D%7D%3E], must be lowercase]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions