Re: solrj sends duplicate documents

2010-03-18 Thread Tim Terlegård
It would be nice if the documentation mentioned this. :) /Tim 2010/3/18 Erik Hatcher : > The StreamingUpdateSolrServer does not support binary format, unfortunately. > >        Erik > > On Mar 18, 2010, at 8:15 AM, Tim Terlegård wrote: > >> I'm using StreamingUpdateSolrServer to index a document

Re: solrj sends duplicate documents

2010-03-18 Thread Erik Hatcher
The StreamingUpdateSolrServer does not support binary format, unfortunately. Erik On Mar 18, 2010, at 8:15 AM, Tim Terlegård wrote: I'm using StreamingUpdateSolrServer to index a document. StreamingUpdateSolrServer server = new StreamingUpdateSolrServer("http://localhost:8983/solr/c

solrj sends duplicate documents

2010-03-18 Thread Tim Terlegård
I'm using StreamingUpdateSolrServer to index a document. StreamingUpdateSolrServer server = new StreamingUpdateSolrServer("http://localhost:8983/solr/core0";, 20, 4); server.setRequestWriter(new BinaryRequestWriter()); SolrInputDocument doc = new SolrInputDocument(); doc.addField("id", "12121212")