Map<Integer, Double> doubleBoosts = Maps.newHashMapWithExpectedSize(boosts.size());
for (Entry<Integer, Float> entry : boosts.entrySet()) {
doubleBoosts.put(entry.getKey(), entry.getValue().doubleValue());
}
transport.open();
client.enqueueAddStore(indexId, sourceDocId, new Document(document.asMap()), timestamp, doubleBoosts);
transport.close();
} catch (IndextankException e) {
throw new RuntimeException(e);
} catch (TTransportException e) {