You say it like it's something you have control over; how would one choose to use more than one thread when indexing? I guess maybe it depends on how you're indexing of course; I guess if you're using SolrJ it's straightforward. What if you're using the ordinary HTTP Post interface, or DIH?

On 5/31/2011 3:35 PM, Markus Jelsma wrote:
If you use only one thread when indexing then one one core is going to be
used.

On May 31, 2011, at 11:29 AM, Jonathan Rochkind wrote:
I kind of think you should get multi-CPU use 'for free' as a Java app
too.
Ah, probably experimental error? If I apply a stress load consisting only
of queries, I get automatic multi-core use as expected. I could see where
indexing new dox could tend toward synchronization and uniprocessing.
Perhaps my original test load was too add-centric, does that make sense?

-==-
Jack Repenning
Technologist
Codesion Business Unit
CollabNet, Inc.
8000 Marina Boulevard, Suite 600
Brisbane, California 94005
office: +1 650.228.2562
twitter: http://twitter.com/jrep

Reply via email to