Hi

I'm seeing different ordering on the spellcheck suggestions in cloud mode
when using spellcheck.extendedResults=false vs.
spellcheck.extendedResults=true.

Solr 8.5.2 in cloud mode with 2 nodes, 1 collection with numShards = 2 &
replicationFactor = 1, techproducts configset and example data:

$ curl '
http://localhost:8983/solr/techproducts/spell?q=power%20cort&spellcheck.extendedResults=false
'

"suggestion":["cord", "corp", "card"]}],

$ curl '
http://localhost:8983/solr/techproducts/spell?q=power%20cort&spellcheck.extendedResults=true
'

"suggestion":[{ "word":"corp", "freq":2}, { "word":"cord", "freq":1}, {
"word":"card", "freq":4}]}],

The correct order should be "corp" (LD: 1, freq: 2), "cord" (LD: 1, freq:
1) , "card" (LD: 2, freq: 4). In standalone mode, I get "corp", "cord",
"card" with extendedResults true or false.

The results are the same for the /spell and /browse request handlers in
that configset. I've put all combinations side by side in this spreadsheet:
https://docs.google.com/spreadsheets/d/1ym44TlbomXMCeoYpi_eOBmv6-mZHCZ0nhsVDB_dDavM/edit?usp=sharing

Is it something in the configuration? Or a bug?

Thomas

Reply via email to