Re: Set Config API user properties with SolrJ

2016-04-17 Thread Georg Sorst
For further reference: I solved this by using an HTTP-based Solr in the tests. Look at SolrTestCaseJ4.buildJettyConfig for more info Georg Sorst schrieb am Mo., 11. Apr. 2016 um 10:28 Uhr: > The issue is here: > > org.apache.solr.handler.SolrConfigHandler.handleRequestBody() > > This method will

Re: Set Config API user properties with SolrJ

2016-04-11 Thread Georg Sorst
The issue is here: org.apache.solr.handler.SolrConfigHandler.handleRequestBody() This method will check the 'httpMethod' of the request. The set-user-property call will only be evaluated if the method is POST. Apparently, for non-HTTP requests this will never be true. I'll gladly write an issue

Re: Set Config API user properties with SolrJ

2016-04-10 Thread Georg Sorst
Addendum: Apparently the code works fine with HttpSolrClient, but not with EmbeddedSolrServer (used in our tests).The most recent version I tested this was 5.5.0 Georg Sorst schrieb am So., 10. Apr. 2016 um 01:49 Uhr: > Hi, > > how can you set Config API values from SolrJ? Does anyone have an ex