Re: Java bulk API slows down if client is not closed and reopened

2014-03-11 Thread Ondřej Spilka
indexed into Solr, this river may help > https://github.com/javanna/elasticsearch-river-solr > > The Solr mock plugin > https://github.com/mattweber/elasticsearch-mocksolrplugin needs some love > for JSON but could also be a valuable start to migrate from Solr. > > Jörg > &

Re: Java bulk API slows down if client is not closed and reopened

2014-03-10 Thread Ondřej Spilka
Thanks Joerg, I completely forgot the way of indexing via JSON documents I've already done for ES from powershell months ago... I understand that ES JSON format is very versatile, on the other side, Solr compatible option to index plain POCO JSON file which consists only from array of objects w

Re: Java bulk API slows down if client is not closed and reopened

2014-03-10 Thread Ondřej Spilka
Thanks for tips.Yes I am reusing requestbuilder as stated in example in docs so this can be the case. I will try to reinstantiate the request builder and I will let you know. Btw is there a way how to simply bulk index json/xml file as like as in Solr? This is extremely useful feature isolating

Java bulk API slows down if client is not closed and reopened

2014-03-04 Thread Ondřej Spilka
Hi all, I'm using JAVA API on ES 1.0.1 to bulk index medium sized docs. Documents come from 150Mb XML. Average JSON document is about 500Bytes in 10 propeties, currently testing on 275.000 documents. Only some key properties are indexed, otherwise stored in _source. Bulk index is done in 5000 do