public void put ( String name , Object [ ] values ) { if ( values instanceof EsRequest [ ] ) { Object [ ] docs = new Object [ values . length ] ; for ( int i = 0 ; i < docs . length ; i ++ ) { docs [ i ] = ( ( EsRequest ) values [ i ] ) . document ; } document . setArray ( name , docs ) ; } else { document . setArray ( name , values ) ; } }
Adds multivalued property value .