lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl <>
Subject Re: Config API: delete-requesthandler
Date Wed, 25 May 2016 20:25:13 GMT

Have you tried adding all your commands to the same file?


Jan Høydahl, search solution architect
Cominvent AS -

> 20. mai 2016 kl. 16.19 skrev Steven White <>:
> Hi folks,
> The code I'm maintaining, uses Solr config API per
> to manage
> request handlers.  My environment has many request handlers, up to 100 in
> few extreme cases.  When that's the case, it means I will issue 100
> "delete-requesthandler" followed with 100 "add-requesthandler" requests.
> This end-to-end operation can be time consuming specially if there is data
> in the index (searchers are being reset leading to cache and stuff being
> reloaded).  But even if there isn't data in the index, it will take about
> 10 min. in my test environment.
> My question is, how can I optimize this?  Is there any kind of "bulk" or
> "transaction-base" way of doing schema configuration?  I.e.: send all my
> deletes, followed with all my adds, and then issue a commit for the change
> to take effect.  If I switch to SolrJ (does it offer schema management?)
> will that help?
> Thanks in advanced.
> Steve

View raw message