-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
Description
ES 6.x version use a single trie for all methods which results to covering the already registered handler params. ex
I have two methods : POST /events/{id}, GET /events/{name}, after registering the POST becomes /events/{name}.
check insertOrUpdate in https://github.com/elastic/elasticsearch/blob/5436581f696ce27513266090965afc824df76175/server/src/main/java/org/elasticsearch/common/path/PathTrie.java
ES 5.x use different trie for different methods, more reasonable?