{
localip = java.net.InetAddress.getLocalHost().getHostAddress();
}
TablePartion part = GetPartions.partion(projectName);
MdrillPartionsInterface drillpart=MdrillPartions.INSTANCE(part.parttype);
ShardsList[] cores = coresfortest;
if (cores == null) {
cores = GetShards.getCoresNonCheck(part);
}
for(SolrInputDocument doc:docs)
{
doc.setField("mdrill_uuid", MdrillFunction.uuid());
if(!doc.containsKey("mdrillPartion"))
{
String partion=drillpart.InsertPartion(doc);
doc.setField("mdrillPartion", partion);
}
if(tp!=null)
{