lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From michael solomon <micheal...@gmail.com>
Subject most popular collate spellcheck
Date Thu, 31 Mar 2016 15:03:34 GMT
Hi,
It's possible to return the most popular collate?
i.e:
spellcheck.q = prditive analytiycs
spellcheck.maxCollations = 5
spellcheck.count=0
response:
<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>

I want that the collations will order by numFound. and obviesly that
"predictive analytics" have more results from "positive analytic".
Thanks,
Michael

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message