What do you mean by a custom format? As long as your custom component
is writing primitives or NamedList/SimpleOrderedMap or collections
such as List/Map, any response writer should be able to handle them.

On Wed, Aug 5, 2015 at 5:08 PM, Dmitry Kan <solrexp...@gmail.com> wrote:
> Hello,
>
> Solr: 5.2.1
> class: org.apache.solr.common.util.JavaBinCodec
>
> I'm working on a custom data structure for the highlighter. The data
> structure is ready in JSON and XML formats. I need also JavaBin format. The
> data structure is already made serializable by extending the WritableValue
> class (methods write and resolve).
>
> To receive the custom format on the client via solrj api, the data
> structure needs to be parseable by JavaBinCodec. Is this correct
> assumption? Can we introduce the custom data structure consumer on the
> solrj api without complete overhaul of the api? Is there plugin framework
> such that JavaBinCodec is extended and used for the new data structure?
>
>
>
> --
> Dmitry Kan
> Luke Toolbox: http://github.com/DmitryKey/luke
> Blog: http://dmitrykan.blogspot.com
> Twitter: http://twitter.com/dmitrykan
> SemanticAnalyzer: www.semanticanalyzer.info



-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to