Thanks, David.
Will let you know, how it went.
On 5 May 2015 at 20:01, david.w.smi...@gmail.com
wrote:
> Yes.
>
> On Tue, May 5, 2015 at 8:29 AM Dmitry Kan wrote:
>
>> Hi David,
>>
>> Thanks for replying so quick! Indeed, the NPE points to SolrCore being
>> null. So of the following two ctors:
Yes.
On Tue, May 5, 2015 at 8:29 AM Dmitry Kan wrote:
> Hi David,
>
> Thanks for replying so quick! Indeed, the NPE points to SolrCore being
> null. So of the following two ctors:
>
> public DefaultSolrHighlighter() {
> }
>
> public DefaultSolrHighlighter(SolrCore solrCore) {
> this.solrCore =
Hi David,
Thanks for replying so quick! Indeed, the NPE points to SolrCore being
null. So of the following two ctors:
public DefaultSolrHighlighter() {
}
public DefaultSolrHighlighter(SolrCore solrCore) {
this.solrCore = solrCore;
}
should we use the second one?
Regards,
Dmitry
On 5 May 2
Hi Dmitry,
I am pretty well versed in the sub-class-ability of
DefaultSolrHighlighter. Most likely the problem you see is that you are
using the no-arg constructor. Instead, pass in a SolrCore. It is called
via reflection. In 5.2 I removed the no-arg constructor.
~ David
On Tue, May 5, 2015
Hi,
We need to modify the behaviour of DefaultSolrHighlighter class slightly.
When we tried to extend the class, Solr prints NPE.
Is there some reason to the NPE when extending the class?
Thanks,
Dmitry Kan