: I still wonder why it can create a new index using my codec, but not
: load an index previously created with my codec. In solrconfig.xml, I
: specify the CodecFactory along with the package name, whereas the codec
: name that is read from the index file has no package name. Could that
: be the problem? I think that's the way it's supposed to be. Could it
: be that Solr has my jar in the classpath, but SPI is not registering my
: codec class from the jar? I'm not familiar with SPI.
it's very possible that there is a classloader / SPI runtime race
condition in looking up the codec names found in segment files. This sort
of classpath related runtime issue is extremely hard to write tests for.
Could you please file a bug and include...
* the source of your codec (or a simple sample codec that you can
also use to reproduce the problem)
* a ziped up copy of your entire solr home directory, including
the jar file containing your codec so we can verify the SPI files
are in their properly
- no need to include an actual index here
* some simple sample docments in xml or json taht we can index
with the schema you are using
-Hoss