You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "B (JIRA)" <ji...@apache.org> on 2010/03/17 21:39:27 UTC

[jira] Created: (LUCENENET-351) spellcheck can fail

spellcheck can fail
-------------------

                 Key: LUCENENET-351
                 URL: https://issues.apache.org/jira/browse/LUCENENET-351
             Project: Lucene.Net
          Issue Type: Bug
         Environment: All
            Reporter: B 


In LuceneDictionary.cs line 107 there is the following:

if ((System.Object) fieldt != (System.Object) Enclosing_Instance.field)

This was causing my spellchecking to fail, as the references aren't the same, but the values are. If I change it to be:

if (fieldt != Enclosing_Instance.field)

then it works fine. 

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


[jira] Resolved: (LUCENENET-351) spellcheck can fail

Posted by "Digy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENENET-351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Digy resolved LUCENENET-351.
----------------------------

    Resolution: Fixed

Thanks B.  
( It is very hard to type your nick. Don't you have a shorter one? :-) )

Committed.

DIGY


> spellcheck can fail
> -------------------
>
>                 Key: LUCENENET-351
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-351
>             Project: Lucene.Net
>          Issue Type: Bug
>         Environment: All
>            Reporter: B 
>         Attachments: LuceneDictionary.patch
>
>
> In LuceneDictionary.cs line 107 there is the following:
> if ((System.Object) fieldt != (System.Object) Enclosing_Instance.field)
> This was causing my spellchecking to fail, as the references aren't the same, but the values are. If I change it to be:
> if (fieldt != Enclosing_Instance.field)
> then it works fine. 

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


[jira] Updated: (LUCENENET-351) spellcheck can fail

Posted by "Digy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENENET-351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Digy updated LUCENENET-351:
---------------------------

    Attachment: LuceneDictionary.patch

If no one objects, I will commit.
DIGY

> spellcheck can fail
> -------------------
>
>                 Key: LUCENENET-351
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-351
>             Project: Lucene.Net
>          Issue Type: Bug
>         Environment: All
>            Reporter: B 
>         Attachments: LuceneDictionary.patch
>
>
> In LuceneDictionary.cs line 107 there is the following:
> if ((System.Object) fieldt != (System.Object) Enclosing_Instance.field)
> This was causing my spellchecking to fail, as the references aren't the same, but the values are. If I change it to be:
> if (fieldt != Enclosing_Instance.field)
> then it works fine. 

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