If I understand your question correctly - what happens with Solr and N parallel queries is not much different from what happens with N processes running in the OS - they all get a slice of the CPU time to do their work. Not sure if that answers your question...?
Otis -- Solr & ElasticSearch Support http://sematext.com/ On Mon, Jun 17, 2013 at 4:32 PM, Manuel Le Normand <manuel.lenorm...@gmail.com> wrote: > Hello all, > Assuming I have a single shard with a single core, how do run > multi-threaded queries on Solr 4.x? > > Specifically, if one user sends a heavy query (legitimate wildcard query > for 10 sec), what happens to all other users quering during this period? > > If the repsonse is that simultaneous queries (say 2) run multi-threaded, a > single CPU would switch between those two query-threads, and in case of 2 > CPU's each CPU would run his own thread. But the latter case does not give > any advantage to repFactor > 1 perfomance speaking, as it's close to same > as a single replica running wth >1 CPU's. So I am bit confused about this, > > Thanks, > > Manu