: But when I try to load this codec directly via Solrconfig.xml CodecFactory
: as below.
: 
: 
: <codecFactory
: class="org.apache.lucene.codecs.encrypted.DummyEncryptedLucene60Codec"/>

...there is a difference between a (lucene layer) Codec.  And a (solr 
layer) CodecFactory.

Having the codec code in place (with the necessary SPI metadata 
files) let's Solr/Lucene *read* indexes written in that codec, but in 
order to create new indexes with your codec, you have to write 
a concrete implementation of the CodecFactory abstract class and provide 
that *Factory* class name in your <codecFactory /> config line.  There is 
probably no CodecFactory for your DummyEncryptedLucene60Codec defined in 
the patch you're trying out.



-Hoss
http://www.lucidworks.com/

Reply via email to