Method: Flex.put_index

Defined in:
lib/flex/api_stubs.rb

.put_index(*vars) ⇒ Object

########## Flex.put_index ##########

--------------
Flex::Template
---
put_index:
- PUT
- /<<index>>
- settings:
    number_of_shards: <<number_of_shards= 5 >>
    number_of_replicas: <<number_of_replicas= 1 >>

Usage:
Flex.put_index :index              => "flex_test_index",
               :number_of_shards   => 5,
               :number_of_replicas => 1


528
529
530
531
# File 'lib/flex/api_stubs.rb', line 528

def Flex.put_index(*vars)
  ## this is a stub, used for reference
  super
end