Reputation: 65
usually , we use http get method to do a spellcheck query, but now I have to use solrj to do this, pls help me to solve this question , thx.
Upvotes: 1
Views: 1658
Reputation: 17375
You can specify all parameters via:
query.setParam("spellcheck", "true");
query.setParam("spellcheck.q", query);
Upvotes: 3