Oops, of course the answer was staring me in the face! --> Use the EmbeddedSolrServer, rather than the CommonsHttpSolrServer.
Live and learn. Live. and learn. Thanks, Peter > From: pete...@hotmail.com > To: solr-user@lucene.apache.org > Subject: Question: Write to Solr but not via http, and still store date_format > Date: Fri, 4 Dec 2009 20:09:19 +0000 > > > Hi Solr team, > > > > Has anyone been able to write to Solr, keeping things like 'date_format', but > indexing directly, rather than via http? > > > > I've been indexing using Lucene Java, and this works well and is very fast, > except that any data indexed this way doesn't store date_format et al > information (date.format resuts always return 0). > > I like indexing directly into Lucene, rather than via http requests, as it is > much faster, particularly at very high input rates. > > > > Anyone encountered this and managed to solve it? > > > > Many thanks, > > peter > > > > _________________________________________________________________ > Got more than one Hotmail account? Save time by linking them together > http://clk.atdmt.com/UKM/go/186394591/direct/01/ _________________________________________________________________ Got more than one Hotmail account? Save time by linking them together http://clk.atdmt.com/UKM/go/186394591/direct/01/