//add in some random other docs
Collection<SolrInputDocument> docs = new HashSet<SolrInputDocument>();
for (int i = 0; i < 100; i++) {
doc = new SolrInputDocument();
doc.addField("id", "http://www.tamingtext.com/" + i + ".html");
doc.addField("mimeType", "text/html");
doc.addField("title", "This is title " + i);
now = new Date(150 * i + i + 20);//create some dates
doc.addField("date", DateUtil.getThreadLocalDateFormat().format(now));
doc.addField("description", "This is description number: " + i
+ " of something that is very important.");