autocomplete in Solr and sunspot
问题 I'm building a website with RoR and I use Sunspot and the solr Search Engine. I needed to use autocomplete functionality but I couldn't. I knew that Solr has a new thing called suggester but I don't know how to use this with sunspot and in a rails app. I found a gem called sunspot_autocomplete and I followed what was written, but when I try to reindex I get this error : rake aborted! RSolr::Error::Http - 400 Bad Request Error: ERROR:unknown field 'tags_ac' The model that is searchable called