This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| usage: sl search [<args>...] [options] | |
| @TODO Add usage here | |
| """ | |
| # :copyright: (c) 2013, SoftLayer Technologies, Inc. All rights reserved. | |
| # :license: BSD, see LICENSE for more details. | |
| # SoftLayer/CLI/modules | |
| from os import linesep |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| SoftLayer.search | |
| ~~~~~~~~~~~~~ | |
| Search Manager/helpers | |
| SoftLayer/managers/search.py | |
| :copyright: (c) 2013, SoftLayer Technologies, Inc. All rights reserved. | |
| :license: BSD, see LICENSE for more details. | |
| """ | |
| import socket |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Structure | |
| # Add indexes | |
| curl -XPUT 'http://localhost:9200/index1' | |
| curl -XPUT 'http://localhost:9200/index2' | |
| curl -XPUT 'http://localhost:9200/index3' | |
| # add aliases |