[
https://issues.apache.org/jira/browse/SOLR-5787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14118690#comment-14118690
]
James Dyer commented on SOLR-5787:
----------------------------------
Nalini,
You can override the "mm" for collation purposes. From
http://wiki.apache.org/solr/SpellCheckComponent#spellcheck.collateParam.XX
{quote}
For use with "spellcheck.maxCollationTries". Override the named parameter
(substitute XX). For instance, if user's query uses dismax/edismax and a low
"mm" value was specified (such as 1), it might be desired to requre 100% of the
query terms to match when testing collations. In this case, specify
"spellcheck.collateParam.mm=100%".
{quote}
See SOLR-3211 for further discussion.
Would this solve your issue and let you use collations?
> Get spellcheck frequency relatively to current query
> ----------------------------------------------------
>
> Key: SOLR-5787
> URL: https://issues.apache.org/jira/browse/SOLR-5787
> Project: Solr
> Issue Type: Improvement
> Components: spellchecker
> Affects Versions: 4.6
> Environment: Solr deployed on Jetty 9 Servlet container
> Reporter: Hakim
> Priority: Minor
> Labels: features, newbie
>
> I guess that this functionnality isn't implemented yet. I'll begin by an
> example to explain what I'm requesting:
> I have a lucene query that get articles satisfying a certain query. With this
> same command, I'm getting at the same time suggestions if this query doesnt
> return any article (so far, nothing unusual).
> The frequency (count) associated with these suggestions is relative to all
> index (it counts all occurences of the suggestion in the whole index). What I
> want is that it counts only suggestion occurences satisfying current lucene
> query.
> P.S: I'm using solr's spellcheck component (solr.DirectSolrSpellChecker).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]