How do I create a new field type plugin in Solr from an existing one? -
so created "unitfield" in solr works currencyfield few changes. therefore copy-and-pasted code form currencyfield (first tried extending, of no avail) , adjusted it.
now problem is: want standalone jar , in own package. unfortunately methods fieldtype , schemafield classes declared default (package scope) , therefore not visible in context. copying them not solution, result in more code not being visible ...
the solr wiki says 1 can implement custom field types. there way solve this?
you can maintain same package 1 used currencyfield field allow access default methods.
can still package these classes separate jar , add solr core lib folder available programs.
Comments
Post a Comment