ReactiveElasticsearchOperations indexName twice endcoding
See original GitHub issuethis 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]
Issue Analytics
- State:
- Created 3 years ago
- Comments:6
Top Results From Across the Web
Spring Data Elasticsearch - Reference Documentation
ReactiveElasticsearchOperations lets you save, find and delete your domain objects and map those objects to documents stored in Elasticsearch.
Read more >Index (Spring Data Elasticsearch 4.0.6.RELEASE API)
Execute within a ReactiveElasticsearchOperations.ClientCallback managing resources ... Immutable Value object encapsulating index name(s) and index type(s).
Read more >Springboot : Prevent double encoding of % by Resttemplate
How can I send this request without double encoding the URL? Already tried using UriComponentsBuilder Avoid Double Encoding of URL query param ...
Read more >Spring Data Elasticsearch - 官方文档
indexName : the name of the index to store this entity in ... These are ElasticsearchOperations and ReactiveElasticsearchOperations .
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
ok, I can reproduce that. That reactive client escapes the ‘%’ with ‘%25’. This does not happen in the non-reactive part.
@sothawo good! Thank you