QueryResponse class's _spellResponse is not populated.  The following two lines 
worked in Solr-4.x, but Solr-6/7

SolrClient server = new HttpSolrClient(<serverurl>);
QueryResponse response = server.query(new 
SolrQuery("bus").setParam("spellcheck", "true"));  //this returns results
SpellCheckResponse scr = response.getSpellCheckResponse();  //Returns null 
because _spellResponse in the QueryResponse class is not populated


Any ideas?

Rohana



Registered Office: 24 Darklake View, Estover, Plymouth, PL6 7TL.
Company Registration No: 3553908

This email contains proprietary information, some or all of which may be 
legally privileged. It is for the intended recipient only. If an addressing or 
transmission error has misdirected this email, please notify the author by 
replying to this email. If you are not the intended recipient you may not use, 
disclose, distribute, copy, print or rely on this email.

Email transmission cannot be guaranteed to be secure or error free, as 
information may be intercepted, corrupted, lost, destroyed, arrive late or 
incomplete or contain viruses. This email and any files attached to it have 
been checked with virus detection software before transmission. You should 
nonetheless carry out your own virus check before opening any attachment. GOSS 
Interactive Ltd accepts no liability for any loss or damage that may be caused 
by software viruses.


Reply via email to