The extra codecs are supplied in a separate jar file now (lucene-codecs-4.0.0.jar) - I guess this isn't being packaged into solr.war by default? You should be able to download it here:
http://search.maven.org/remotecontent?filepath=org/apache/lucene/lucene-codecs/4.0.0/lucene-codecs-4.0.0-javadoc.jar and drop it into the lib/ directory. On 15 Oct 2012, at 00:49, Shawn Heisey wrote: > On 10/14/2012 3:21 PM, Rafał Kuć wrote: >> Hello! >> >> Try adding the following to solrconfig.xml: >> >> <codecFactory class="solr.SchemaCodecFactory"/> > > I did this and got a little further, but still no go. From what it's saying > now, I don't think it will be possible in the current state of branch_4x to > use anything but the default. > > SEVERE: null:java.lang.IllegalArgumentException: A SPI class of type > org.apache.lucene.codecs.PostingsFormat with name 'Block' does not exist. You > need to add the corresponding JAR file supporting this SPI to your > classpath.The current classpath supports the following names: [Lucene40] > > I saw that LUCENE-4446 was applied to branch_4x a few hours ago. I did 'svn > up' and rebuilt Solr. Trying again, it appears to be using Lucene41, which I > believe is the Block format. But when I tried to change the format for my > unique key fields to Bloom, that still didn't work. Is this something I > should file an issue on? > > SEVERE: null:java.lang.IllegalArgumentException: A SPI class of type > org.apache.lucene.codecs.PostingsFormat with name 'Bloom' does not exist. You > need to add > the corresponding JAR file supporting this SPI to your classpath.The current > classpath supports the following names: [Lucene40, Lucene41] > > Thanks, > Shawn >