Re: OOM spreads to other replica's/HA when OOM

2017-12-18 Thread Bojan Vukojevic
UNSUBSCRIBE On Mon, Dec 18, 2017 at 12:57 PM Susheel Kumar wrote: > Technically I agree Shawn with you on fixing OOME cause, Infact it is not > an issue any more but I was testing for HA when planing for any failures. > Same time it's hard to convince Business folks that HA wouldn't be there in

Example of DisMax query with embeded Solr (using SolrJ)

2011-01-18 Thread Bojan Vukojevic
Hi, Is there an example of how to use dismax with embedded Solr?I am currently creating my query like this: QueryParser parser = new QueryParser(Version.LUCENE_CURRENT,"content", new StandardAnalyzer(Version.LUCENE_CURRENT)); Query q = parser.parse(query); searcher.search(q

Re: SolrJ addField with Reader

2010-10-22 Thread Bojan Vukojevic
Is there an example of how to use ContentStreamBase.FileStream from SolrJ during indexing to reduce memory footprint? Using "addField" is requiring a string. The only example I could find in JUnits is below and does not show indexing... thx! *public* *void* testFileStream() *throws* IOException {

SolrJ addField with Reader

2010-08-23 Thread Bojan Vukojevic
I am using SolrJ with embedded Solr server and some documents have a lot of text. Solr will be running on a small device with very limited memory. In my tests I cannot process more than 3MB of text (in a body) with 64MB heap. According to Java there is about 30MB free memory before I call server.a