Method: Flex.post_index

Defined in:
lib/flex/api_stubs.rb

.post_index(*vars) ⇒ Object

########## Flex.post_index ##########

--------------
Flex::Template
---
post_index:
- POST
- /<<index>>
- settings:
    number_of_shards: <<number_of_shards= 5 >>
    number_of_replicas: <<number_of_replicas= 1 >>

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


572
573
574
575
# File 'lib/flex/api_stubs.rb', line 572

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