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 bbarani <bb...@gmail.com> on 2012/08/13 19:11:29 UTC

Confused with suggestion / collate suggest - spell check component

Hi,

I am trying to figure out if this is the expected behaviour of spell check
component. (when using collate=true)

I am searching for keyword 'high tet', the suggester returns expected result
'test' but I expected the collated results to return 'high test' (corrected
word returned by suggester) but it returns 'high tet'. Does the collation
returns proper suggested results only if both the words are contiguous in a
document?

- <lst name="suggestions">
- <lst name="tet">
  <int name="numFound">1</int> 
  <int name="startOffset">5</int> 
  <int name="endOffset">8</int> 
  <int name="origFreq">0</int> 
- <arr name="suggestion">
- <lst>
  <str name="word">test</str> 
  <int name="freq">35</int> 
  </lst>
  </arr>
  </lst>
  <bool name="correctlySpelled">false</bool> 
  <str name="collation">high tet</str> 
  </lst>
  </lst>
  </response>

Thanks in advance!!!!

Thanks,
BB



--
View this message in context: http://lucene.472066.n3.nabble.com/Confused-with-suggestion-collate-suggest-spell-check-component-tp4000903.html
Sent from the Solr - User mailing list archive at Nabble.com.