Solr spellcheck not working for some phrase queries having "stopwords". eg "stopword to solr" if you remove 'to' then it suggest spellings for solr as solar. Can anyone tell what is problem?
Before Indexing . Do 2 things : i) You have to remove/comment Stopfilterfactory from both index and query in analyzer .
ii) Don't use KeywordTokenizerFactory because it takes terms as a whole string. Use StandardTokenizerFactory .
Try it out.
It depends on the documents already indexed. Most probably you don't already have SOLR indexed, or its frequency is relatively low compared SOLAR .
Try enabling spellcheck.extendedResults=true so you can see the frequency
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.