: My tests showed that it was a big difference. It took about 1.2 seconds to
: index 500 separate adds in separate xml files (with a single commit
: afterwards), compared to about 200 milliseconds when sending a single xml with
: 500 adds. And according to the documentation java automatically uses
: keep-alive (I found no way to force it myself).

I'm not sure what you mean by "java automatically uses keep-alive" ... you 
mean you wrote your client code using java?  but how do you initiate your 
connections to Solr?

Nothing I know of in the way Solr handles updates should make adding 
multiple docs in one request faster then adding one doc per request -- any 
added overhead should be in the servlet container (and keep-alive should 
minimize that) ... if you have a simple reproducable test that 
demonstrates otherwise, i would consider that a "performance" bug.

: > i thought we added something like this ... but i guess not.
: > 
: > feel free to file a feature request in Jira.
: 
: ah, but I guess it is only awailable in a nightly build? Do you know a jira
: issue number I can look at? I didn't find anything related to this.

no, i mean: i thought we added it, but when i tried on the trunk i see the 
same thing you see ... please file a feature request.



-Hoss

Reply via email to