Commit fdba49e
committed
Merge pull request #111 from robertlemke/bugfix-alias-retrieval
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 file changed
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
462 | 462 | | |
463 | 463 | | |
464 | 464 | | |
465 | | - | |
| 465 | + | |
466 | 466 | | |
467 | 467 | | |
468 | 468 | | |
| |||
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
518 | | - | |
| 518 | + | |
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
| |||
0 commit comments