Commit 9f5ee52
committed
[BUGFIX] Retrieval of aliases fails with newer API versions
The NodeIndexer tries to retrieve the list of index aliases with a
GET request like `http://localhost:9200/*/_alias/typo3cr´. However,
newer API versions don't seem to support this URL format and fail with
a PatternSyntaxException (Dangling meta character '*').
This fix changes the pattern to `http://localhost:9200/_alias/typo3cr`
which seems to work with both, newer and older API versions.
Tested with Elasticsearch 1.5.2 and 1.7.2.1 parent 421eb9a commit 9f5ee52
1 file changed
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
460 | 460 | | |
461 | 461 | | |
462 | 462 | | |
463 | | - | |
| 463 | + | |
464 | 464 | | |
465 | 465 | | |
466 | 466 | | |
| |||
513 | 513 | | |
514 | 514 | | |
515 | 515 | | |
516 | | - | |
| 516 | + | |
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
| |||
0 commit comments