Re: Improvements to the Explanation class

2019-01-12 Thread Vadim Gindin
Hi all, I think it is a good idea. I have a similar situation and I had to store additional data (features values) as a string and parse it further. So I'd be glad if your proposal will be implemented. Regards, Vadim Gindin On Fri, Jan 11, 2019 at 7:17 PM Sambhav Kothari (BLOOMBERG/ LONDON) < sk

Improvements to the Explanation class

2019-01-11 Thread Sambhav Kothari (BLOOMBERG/ LONDON)
Hello, Currently the Explanation class has a toHtml and toString method, but it doesn't seem to have any method to output the explanation as a NamedList. Part of the reason is that NamedList is a Solr only concept and it cannot exist in lucene. But this leads to utility functions like (https:/