You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael Solomon (JIRA)" <ji...@apache.org> on 2016/04/03 14:00:30 UTC
[jira] [Updated] (SOLR-8934) Spellchecker collaction should return
in popular order
[ https://issues.apache.org/jira/browse/SOLR-8934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Solomon updated SOLR-8934:
----------------------------------
Priority: Minor (was: Trivial)
> Spellchecker collaction should return in popular order
> ------------------------------------------------------
>
> Key: SOLR-8934
> URL: https://issues.apache.org/jira/browse/SOLR-8934
> Project: Solr
> Issue Type: Improvement
> Components: spellchecker
> Affects Versions: 5.5.1
> Reporter: Michael Solomon
> Priority: Minor
>
> From what I understand solr execute queries to determine if the suggest return results.
> [https://cwiki.apache.org/confluence/display/solr/Spell+Checking#SpellChecking-Thespellcheck.collateParameter]
> {quote}
> The spellcheck.collate parameter only returns collations that are guaranteed to result in hits if re-queried, even when applying original fq parameters.
> it would be great if solr will order the collations by numFound, so the collations with more results appear first.
> {quote}
> i.e:
> spellcheck.q = prditive analytiycs
> spellcheck.maxCollations = 5
> spellcheck.count=0
> response:
> {code:xml}
> <lst name="spellcheck">
> <lst name="suggestions"/>
> <bool name="correctlySpelled">false</bool>
> <lst name="collations">
> <str name="collation">positive analytic</str>
> <str name="collation">positive analytics</str>
> <str name="collation">predictive analytics</str>
> <str name="collation">primitive analytics</str>
> <str name="collation">punitive analytic</str>
> </lst>
> </lst>
> {code}
> Obviesly that "predictive analytics" have more results from "positive analytic".
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org