If you're using "spellcheck.collate" you can also set "spellcheck.maxCollationTries" to validate each collation against the index before suggesting it. This validation takes into account any "fq" parameters on your query, so if your original query has "fq=Product:Book", then the collations returned will all be vetted by internally running the query with that filter applied.
If for some reason your main query does not have "fq=Product:Book", but you want it considered when collations are being built, you can include "spellcheck.collateParam.fq=Product:Book". See http://wiki.apache.org/solr/SpellCheckComponent#spellcheck.collate and following sections. James Dyer Ingram Content Group (615) 213-4311 -----Original Message----- From: Gastone Penzo [mailto:gastone.pe...@gmail.com] Sent: Friday, September 20, 2013 4:00 AM To: solr-user@lucene.apache.org Subject: Spellchecking Hi, i'd like to know if is it possibile to have suggests only of a part of indexes. for example: an ecommerce: there are a lot of typologies of products (book, dvd, cd..) if i search inside books, i want only suggests of books products, not cds but the spellchecking indexs are all together. is it possibile to divided indexes or have suggests only of a typology? thanx -- Gastone