lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nitin Solanki <nitinml...@gmail.com>
Subject Frequency of Suggestion are varying from original Frequency in index
Date Wed, 04 Mar 2015 14:39:45 GMT
Hi..
       I have a term("who") where original frequency of "who" is 191 but
when I get suggestion of "who" it gives me 90. Why?

Example :

*Original Frequency* comes like:

"spellcheck":{
    "suggestions":[
      "who",{
        "numFound":1,
        "startOffset":1,
        "endOffset":4,
        "origFreq":*191*,
      "correctlySpelled",false]}}

While In *Suggestion*, it gives like:

"spellcheck":{
    "suggestions":[
      "whs",{
        "numFound":1,
        "startOffset":1,
        "endOffset":4,
        "origFreq":0,
        "suggestion":[{
            "word":"who",
            "freq":*90*}]},
      "correctlySpelled",false]}}



Why it is so?

I am using StandardTokenizerFactory with ShingleFilterFactory in
Schema.xml..

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