Description
Using FreeTextSuggester. When starting Solr or reloading core, all suggest requests will fail due to a Nullpointer. There is a HTTP 500 response code with the following body. Note that the error returned does not have a msg section but only a trace:
{ "error":{ "trace":"java.lang.NullPointerException\n\tat org.apache.lucene.search.suggest.analyzing.FreeTextSuggester.lookup(FreeTextSuggester.java:542)\n\tat org.apache.lucene.search.suggest.analyzing.FreeTextSuggester.lookup(FreeTextSuggester.java:440)\n\tat org.apache.lucene.search.suggest.analyzing.FreeTextSuggester.lookup(FreeTextSuggester.java:429)\n\tat org.apache.solr.spelling.suggest.SolrSuggester.getSuggestions(SolrSuggester.java:199)\n\tat ...
Offending line:
BytesReader bytesReader = fst.getBytesReader();
The fst is null at this time.