Create Vector Index

curl -u shiva:shiva -XPUT 'localhost:28902/hippo/v1/gaowei/_create_embedding_index?pretty' -H 'Content-Type: application/json' -d'{  
  "field_name" : "book_intro",  
  "index_name" : "ivf_flat_index",  
  "metric_type" : "l2",  
  "index_type": "IVF_FLAT",  
  "params": {  
    "nlist" : 10  
  }  
}';  

Result:

{
  "acknowledged" : true
}