I have a need to override the default behavior of the BM25Similarty class.
It was trivial to create the class. My problem is that I cannot load it, at
least via the blob api as described here:

I set enable.runtime.lib=true on my solr startup

I created the .system collection and uploaded a jar containing my class
following the instructions here:

I can see that the blob was created.

I added the runtime lib to my collection, and I can see it in the
configorelay.json file
Finally I added this line to the schema.xml file:
<similarity class="com.sial.similarity.SialBM25Similarity"

uploaded it to Zookeeper and reloaded the collection. only to get this
Could not load conf for core test-catalog-product-170724_shard1_replica1:
Can't load schema schema.xml: Error loading class

What am I missing? Is this plugins api limited to components and request
handlers? If so that's a HUGE limitation, makes it just about useless.
I need it for this similarity and some filter factories, and having a
simple way to deploy code to solrcloud nodes that can be easily automated
would be great.


This message and any attachment are confidential and may be privileged or 
otherwise protected from disclosure. If you are not the intended recipient, 
you must not copy this message or attachment or disclose the contents to 
any other person. If you have received this transmission in error, please 
notify the sender immediately and delete the message and any attachment 
from your system. Merck KGaA, Darmstadt, Germany and any of its 
subsidiaries do not accept liability for any omissions or errors in this 
message which may arise as a result of E-Mail-transmission or for damages 
resulting from any unauthorized changes of the content of this message and 
any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its 
subsidiaries do not guarantee that this message is free of viruses and does 
not accept liability for any damages caused by any virus transmitted 

Click http://www.emdgroup.com/disclaimer to access the German, French, 
Spanish and Portuguese versions of this disclaimer.

Reply via email to