thanks, Shalin! We have survived by passing our custom structure string in
Json. Still to be tested for performance.
On Sat, Aug 8, 2015 at 5:22 PM, Shalin Shekhar Mangar
shalinman...@gmail.com wrote:
Or use the XsltResponseWriter :)
On Sat, Aug 8, 2015 at 7:51 PM, Shalin Shekhar Mangar
Shalin,
Thanks, can I also introduce custom entity tags like in my example with the
highlighter output?
Dmitry
On Fri, Aug 7, 2015 at 5:10 PM, Shalin Shekhar Mangar
shalinman...@gmail.com wrote:
The thing is that you are trying to introduce custom xml tags which
require changing the
No, I'm afraid you will have to extend the XmlResponseWriter in that case.
On Sat, Aug 8, 2015 at 2:02 PM, Dmitry Kan solrexp...@gmail.com wrote:
Shalin,
Thanks, can I also introduce custom entity tags like in my example with the
highlighter output?
Dmitry
On Fri, Aug 7, 2015 at 5:10 PM,
Or use the XsltResponseWriter :)
On Sat, Aug 8, 2015 at 7:51 PM, Shalin Shekhar Mangar
shalinman...@gmail.com wrote:
No, I'm afraid you will have to extend the XmlResponseWriter in that case.
On Sat, Aug 8, 2015 at 2:02 PM, Dmitry Kan solrexp...@gmail.com wrote:
Shalin,
Thanks, can I also
The thing is that you are trying to introduce custom xml tags which
require changing the response writers. Instead, if you just used
nested maps/lists or SimpleOrderedMap/NamedList then every response
writer should be able to just directly write the output. Nesting is
not a problem.
On Fri, Aug
Shawn:
thanks, we found an intermediate solution by serializing our data structure
using string representation, perhaps less optimal than using binary format
directly.
In the original router with JavaBinCodec we found, that
BinaryResponseWriter should also be extended. But the following method
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:
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
On 8/5/2015 5:38 AM, Dmitry Kan wrote:
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