Hi, Please anybody can explain me what is hits in collations and how they are calculated? Sometimes, I get the collation and sometimes not.
*Problem:* *1)* URL : http://localhost:8983/solr/wikingram/spell?q=gram_ci:*"salmn khn"*&wt=json&indent=true&shards.qt=/spell&rows=1 Output : No collation. Here, why salman khan is not coming in collation while "salman khan" is in documents, 7 times. *2) *URL: http://localhost:8983/solr/wikingram/spell?q=gram_ci:*"salman khn"*&wt=json&indent=true&shards.qt=/spell&rows=1 Output : salman khan, hits = 7 Here, salman khan is coming in collation and hits are same as in documents. It is correct. *3) *URL: http://localhost:8983/solr/wikingram/spell?q=gram_ci:*"salmin khn"*&wt=json&indent=true&shards.qt=/spell&rows=1 Output : salman khan, hits = 4 Here, salman khan is coming in collation but it gives hits=4 while "salman khan" is in documents, 7 times.