Re: Solr 5.5.2 - Custom Function Query update

2017-09-26 Thread Florian Le Vern

Hi Susheel and Emir,

Thanks for your quick help.
We are not using SolrCloud mode and the jar wasn't duplicated.
My supposition about the jar not being updated initially came from a 
performance issue that was corrected. The effects were seen on our 
development environment and not on our testing one.
I tried to add a dummy function to the lib and it was well updated, so 
that wasn't our problem after all, sorry about that. It came from a bad 
deployment in the testing environment, we are still investigating how to 
improve again our lib performances though.


Sorry about the late response, I wanted some more information to let you 
know.

Thanks again,
Florian


Le 26/09/2017 à 09:37, Emir Arnautović a écrit :

Hi Florian,
I am guessing that you are running Solr in SolrCloud Mode. Please see 
https://lucene.apache.org/solr/guide/6_6/adding-custom-plugins-in-solrcloud-mode.html 
<https://lucene.apache.org/solr/guide/6_6/adding-custom-plugins-in-solrcloud-mode.html>
 and let us know if this helps.

Thanks,
Emir


On 25 Sep 2017, at 15:44, Florian Le Vern <florian.lev...@mappy.com> wrote:

Hi,

I added a custom Function Query in a jar library that is loaded from the 
`solr/data/lib` folder (same level as the cores) with the solrconfig line:


I just updated this lib but after restarting Solr, it seems that it still uses 
the previous version.
I also tried to delete the lib from the `solr/data/lib` folder without changing 
the solrconfig but it was still working.

Do you have any clues for updating a custom lib ?

Thanks in advance,
Florian





Solr 5.5.2 - Custom Function Query update

2017-09-25 Thread Florian Le Vern

Hi,

I added a custom Function Query in a jar library that is loaded from the 
`solr/data/lib` folder (same level as the cores) with the solrconfig line:
class="blah.blah.solr.search.function.MyFuncValueParser" />


I just updated this lib but after restarting Solr, it seems that it 
still uses the previous version.
I also tried to delete the lib from the `solr/data/lib` folder without 
changing the solrconfig but it was still working.


Do you have any clues for updating a custom lib ?

Thanks in advance,
Florian



Solr 5.5.2 - Custom Function Query update

2017-09-25 Thread Florian Le Vern

Hi,

I added a custom Function Query in a jar library that is loaded from the
`solr/data/lib` folder (same level as the cores) with the solrconfig line:


I just updated this lib but after restarting Solr, it seems that it
still uses the previous version.
I also tried to delete the lib from the `solr/data/lib` folder without
changing the solrconfig but it was still working.

Do you have any clues for updating a custom lib ?

Thanks in advance,
Florian