Method: Flex.create_index
- Defined in:
- lib/flex/api_stubs.rb
.create_index(*vars) ⇒ Object
########## Flex.create_index ##########
--------------
Flex::Template
---
create_index:
- PUT
- /<<index>>
- settings:
number_of_shards: <<number_of_shards= 5 >>
number_of_replicas: <<number_of_replicas= 1 >>
Usage:
Flex.create_index :index => "flex_test_index",
:number_of_shards => 5,
:number_of_replicas => 1
550 551 552 553 |
# File 'lib/flex/api_stubs.rb', line 550 def Flex.create_index(*vars) ## this is a stub, used for reference super end |