I m using a never version of Lucene.NET with Umbraco 5, but realized that it collided with the version bundled with Examine that is included with Umbraco 5 (See C#: Could not load types from assembly).
Rather than just removing Examine and the outdated Lucene.NET library from the App_Plugins directory, I m interested in a happy coexistence, where Examine uses my new version of Lucene.NET.
I ve tried adding this to web.config, but the outdated Lucene.NET library was still used:
<dependentAssembly>
<assemblyIdentity name="Lucene.Net" publicKeyToken="85089178b9ac3181" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.9.4.1" newVersion="2.9.4.1" />
</dependentAssembly>
The new version of Lucene.NET is 2.9.4.1.
Removing the old bundled Lucene.NET library causes an error.