You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Anoop Atre (JIRA)" <ji...@apache.org> on 2009/04/06 21:23:13 UTC

[jira] Commented: (SOLR-1094) spellcheck component, correctlySpelled is bogus!

    [ https://issues.apache.org/jira/browse/SOLR-1094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696220#action_12696220 ] 

Anoop Atre commented on SOLR-1094:
----------------------------------

I've been running into the same exact roadblock, the difference is that we are using Solr 1.3.0. I assumed it was some error in my configuration and it could very well still be the reason no suggestions were returned.

Here's the search query I ran and I'm pretty sure I don't have "heltl" in my index.
> /search?q=heltl&spellcheck.q=heltl&spellcheck=true&spellcheck.extendedResults=true&indent=on&echoParams=explicit
{code:xml}
<response>
  <lst name="responseHeader">
  <int name="status">0</int>
  <int name="QTime">2</int>
    <lst name="params">
      <str name="spellcheck">true</str>
      <str name="spellcheck.q">heltl</str>
      <str name="indent">on</str>
      <str name="echoParams">explicit</str>
      <str name="spellcheck.extendedResults">true</str>
      <str name="q">heltl</str>
    </lst>
  </lst>
<result name="response" numFound="0" start="0"/>
  <lst name="spellcheck">
    <lst name="suggestions">
    <bool name="correctlySpelled">true</bool>
    </lst>
  </lst>
</response>
{code}
Here are my messages to the mailing list, as indicated I've also tried adding a regular handler which didn't respond as expected, I believe that was the method recommended previously (?) but described on the wiki (first link below) maybe those instructions are wrong?

> http://wiki.apache.org/solr/SpellCheckComponent
> http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200903.mbox/%3C49D11672.4000209@mnsu.edu%3E
> http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200904.mbox/%3C49D65609.1050707@mnsu.edu%3E

> spellcheck component, correctlySpelled is bogus!
> ------------------------------------------------
>
>                 Key: SOLR-1094
>                 URL: https://issues.apache.org/jira/browse/SOLR-1094
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: David Smiley
>
> I've found that {{correctlySpelled}} is sometimes hidden and it is sometimes shown, and when it is shown it may indicate true when it should clearly be false.  As such I've discounted it altogether.  I should be fixed or removed.  Here's a search query I ran against my index and I swear I don't have a termh "zzzwwwzzzzzz" :-)
> {code}
> <lst name="responseHeader">
>  <int name="status">0</int>
>  <int name="QTime">58</int>
>  <lst name="params">
>   <str name="spellcheck">true</str>
>   <str name="rows">0</str>
>   <str name="indent">on</str>
>   <str name="echoParams">explicit</str>
>   <str name="spellcheck.collate">true</str>
>   <str name="spellcheck.extendedResults">true</str>
>   <str name="q">zzzwwwzzzzzz</str>
>   <str name="spellcheck.count">3</str>
>   <str name="version">2.2</str>
>  </lst>
> </lst>
> <result name="response" numFound="0" start="0"/>
> <lst name="spellcheck">
>  <lst name="suggestions">
>   <bool name="correctlySpelled">true</bool>
>  </lst>
> </lst>
> </response>
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.