solr - How can I use solrj to do a query with spellcheck -


usually , use http method spellcheck query, have use solrj this, pls me solve question , thx.

you can specify parameters via:

query.setparam("spellcheck", "true"); query.setparam("spellcheck.q", query); 

Comments

Popular posts from this blog

SAP Web Service from .NET via WCF -

email - PHP Mail Error "The Page at X Says: E-Mail can not be sent!" -

Optimized Line drawing in QT -