solrTemplate.saveBeans(Arrays.asList(bean1, bean2));
solrTemplate.commit();
Query q = new SimpleQuery("*:*");
q.addProjectionOnField(new DistanceField("distance", "store", new Point(45.15, -93.85)));
Page<ExampleSolrBean> result = solrTemplate.queryForPage(q, ExampleSolrBean.class);
for (ExampleSolrBean bean : result) {
Assert.assertThat(bean.getDistance(), IsNull.notNullValue());
}