Is it possible to run a spellcheck on multiple fields. I am aware of using a multivalued field for this (http://lucene.472066.n3.nabble.com/spellcheck-on-multiple-fields-td1587327.html)
However, what I want is to return spellcheck alternatives based on the field against which the query ran. So if I run a query against a field like 'FirstName', I want to be able to retrieve alternate query terms from the values indexed in 'FirstName' field only. Similarly a search against a field 'LastName' should return alternatives from the values indexed for this field only. I dont think a multivalued field approach would work for me, since it is actually an aggregation of indexed values from multiple fields. When searching for First Name, I don't want to put forward suggestions that are actually coming from tokens indexed from Last Name, Address City,etc. To summarize my problem, I want to be able to chose the field against which spellcheck alternatives should be provided at query time. Is this possible ? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-SpellCheck-on-Query-Field-tp4019036.html Sent from the Solr - User mailing list archive at Nabble.com.