You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Ashish Bisht <bi...@gmail.com> on 2019/05/13 13:30:05 UTC

Spellcheck Collations Phrase based instead of AND

Hi,


For a sample collation during spellcheck.

 "collation",{
        "collationQuery":"smart connected factory",
        "hits":109,
        "misspellingsAndCorrections":[
          "smart","smart",
          "connected","connected",
          "fator","factory"]},
      "collation",{
        "collationQuery":"smart connected faster",
        "hits":325,
        "misspellingsAndCorrections":[
          "smart","smart",
          "connected","connected",
          "fator","faster"]},
      "collation",{
        "collationQuery":"sparc connected factory",
        "hits":14,
        "misspellingsAndCorrections":[
          "smart","sparc",
          "connected","connected",
          "fator","factory"]},

The hits in the collationQuery are based on AND between the keyword .

Is it possible to get the collations sorted based on phrase instead of AND

Regards
Ashish



--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html