I can get the result I want when I query in the administration console like below. enter image description here
But how can I get the response in spring_data_solr? I tried to use SpellcheckPage to receive the result, but somehow I couldn't get the suggestions I want.
The query like below: http://localhost:8080/solr/index.htmltest/suggest?indent=on&q=a&wt=json and when query in the administration console I could get the response I want. { "responseHeader":{ "status":0, "QTime":2196}, "suggest":{"mySuggester":{ "a":{ "numFound":4, "suggestions":[{ "term":"abcd", "weight":1, "payload":""}, { "term":"abef", "weight":1, "payload":""}, { "term":"abes", "weight":1, "payload":""}, { "term":"aeg", "weight":1, "payload":""}]}}}} .But in spring_data_solr 2.1.4, how can I receive the result? I tried to use SpellcheckPage but can't get the suggestions I want. Solr version is 6.6.