Re: StatsComponent and query times while indexing

2013-01-04 Thread Otis Gospodnetic
If you index from the outside (i.e. not using DIH) you have more control: * how many threads you use * how you batch documents * how much you wait between indexing batches ... Otis -- Solr & ElasticSearch Support http://sematext.com/ On Fri, Jan 4, 2013 at 6:25 PM, Marcin Rzewucki wrote: >

Re: StatsComponent and query times while indexing

2013-01-04 Thread Upayavira
DIH won't make any real difference, I'd say. The work to write terms to your index still happens in either case. Upayavira On Fri, Jan 4, 2013, at 11:25 PM, Marcin Rzewucki wrote: > Thanks. I guess you're right - it's normal behaviour. Are there some > guidelines how to use ramBufferSizeMB or onl

Re: StatsComponent and query times while indexing

2013-01-04 Thread Marcin Rzewucki
Thanks. I guess you're right - it's normal behaviour. Are there some guidelines how to use ramBufferSizeMB or only by testing ? Do you know if DIH is "gentler" than indexing via REST or solrj API ? Kind regards. On 4 January 2013 23:14, Otis Gospodnetic wrote: > Hi, > > I think what you are seein

Re: StatsComponent and query times while indexing

2013-01-04 Thread Otis Gospodnetic
Hi, I think what you are seeing is a general thing. Regular search is slower while there is indexing, too, of course. So maybe it's best to mentally decouple indexing part here and simply make your calls as fast as possible without indexing. Then you can add indexing and play with things like ra