I use elasticsearch in java ,and i get some questions that i can't understand

when i create a doc,i need use : IndexRequest indexRequest = new IndexRequest(String indexName); the question is :
indexRequest .type(type) ,this method is deprecated, and what method can replace it ? i want know!

There is no replacement, indices only have one type so there is no longer any need to specify a type. See removal of mapping types for more information.

i see , it means that a index just one default type? and just like mysql a database to a table?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.