void function ( String arg0 , Map < String , Object > arg1 ) { XContentBuilder loc0 = XContentFactory . jsonBuilder ( ) ; client . prepareIndex ( INDEX_NAME , PARENT_TYPE_NAME , arg0 ) . setSource ( loc0 . map ( arg1 ) ) . execute ( ) . actionGet ( ) ; }
index a parent doc concode_field_sep String INDEX_NAME concode_elem_sep Node elasticNode concode_elem_sep String PARENT_TYPE_NAME concode_elem_sep Client client concode_elem_sep String CHILD_TYPE_NAME concode_field_sep List<String> executeSearch concode_elem_sep void indexChild concode_elem_sep String indexDoc concode_elem_sep void deleteById concode_elem_sep void main concode_elem_sep void searchDocByChild concode_elem_sep void shutdown