I have configured my solrconfig.xml and schema.xml to query for the suggestions.
I am able to get the suggestions from the url
http://localhost:8080/solr/collection1/suggest?q=ha&wt=xml
My SolrConfig.xml looks like
Curently, My solr query looks like
uid
.....
And my schema.xml looks like this
suggest
name
org.apache.solr.spelling.suggest.Suggester
org.apache.solr.spelling.suggest.tst.TSTLookup
true
internal
0.5
2
int name="minPrefix">1
5
4
0.01
.01
wordbreak
solr.WordBreakSolrSpellChecker
name
true
true
10
text
true
suggest
on
true
10
5
5
true
true
10
5
spellcheck
My code to call the SolrNet API looks as below
new SolrBaseRepository.Instance().Start();
var solr = ServiceLocator.Current.GetInstance>();
var options = new QueryOptions
{
FilterQueries = new ISolrQuery[] { new SolrQueryByField("type", type) }
};
var results = solr.Query(keyword, options);
return results;
However, I am not getting any data. results count is zero. And also the spellcheck in the results is also zero.
I also dont see the suggestion list inside the results.

Please help