Hi Shawn,

Thank you for your answer. I have solved the problem.

The problem is, in our code constructor of TurkishFilterFactory is setted
as protected and that works without problem on the 3.x versions of the Solr
but gives the exception that I mentioned here on 4.x versions. By analyzing
the stack trace I saw that it gives an InstantationException and by making
constructor public solves the problem.


On Fri, Nov 1, 2013 at 6:34 PM, Shawn Heisey <s...@elyograg.org> wrote:

> On 11/1/2013 4:18 AM, Parvin Gasimzade wrote:
> > I have a problem with custom plugin development in solr 4.x versions. I
> > have developed custom filter and trying to install it but I got following
> > exception.
>
> Later you indicated that you can use it with Solr 3.x without any problem.
>
> Did you recompile your custom plugin against the Solr jars from the new
> version?  There was a *huge* amount of java class refactoring that went
> into the 4.0 version as compared to any 3.x version, and that continues
> with each new 4.x release.
>
> I would bet that if you tried that recompile, it would fail due to
> errors and/or warnings, which you'll need to fix.  There might also be
> operational problems that the compiler doesn't find, due to changes in
> how the underlying APIs get used.
>
> Thanks,
> Shawn
>
>

Reply via email to