You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Simone Chiaretta (JIRA)" <ji...@apache.org> on 2010/05/25 14:03:24 UTC

[jira] Created: (LUCENENET-368) Similarity.Net doesn't compile with Lucene trunk

Similarity.Net doesn't compile with Lucene trunk
------------------------------------------------

                 Key: LUCENENET-368
                 URL: https://issues.apache.org/jira/browse/LUCENENET-368
             Project: Lucene.Net
          Issue Type: Bug
            Reporter: Simone Chiaretta
            Priority: Minor


If you compile Similarity.Net using Lucene.net 2.9.2 (or also from trunk) you get the following compile error:

C:\Projects\lucene.net\Lucene.Net_2_9_2\contrib\Similarity.Net\Similarity.Net\Similar\MoreLikeThis.cs(500,57): error CS0266: Cannot implicitly convert type 'System.Collections.Generic.ICollection<string>' to 'System.Collections.ICollection'. An explicit conversion exists (are you missing a cast?)
C:\Projects\lucene.net\Lucene.Net_2_9_2\contrib\Similarity.Net\Similarity.Net\Similar\MoreLikeThis.cs(521,57): error CS0266: Cannot implicitly convert type 'System.Collections.Generic.ICollection<string>' to 'System.Collections.ICollection'. An explicit conversion exists (are you missing a cast?)

This is caused by IndexReader.GetFieldNames returns a ICollection<string> rather then just a ICollection as before.

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


[jira] Resolved: (LUCENENET-368) Similarity.Net doesn't compile with Lucene trunk

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

Digy resolved LUCENENET-368.
----------------------------

      Assignee: Digy
    Resolution: Fixed

> Similarity.Net doesn't compile with Lucene trunk
> ------------------------------------------------
>
>                 Key: LUCENENET-368
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-368
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Simone Chiaretta
>            Assignee: Digy
>            Priority: Minor
>         Attachments: similarity-net-cantcompile.patch
>
>
> If you compile Similarity.Net using Lucene.net 2.9.2 (or also from trunk) you get the following compile error:
> C:\Projects\lucene.net\Lucene.Net_2_9_2\contrib\Similarity.Net\Similarity.Net\Similar\MoreLikeThis.cs(500,57): error CS0266: Cannot implicitly convert type 'System.Collections.Generic.ICollection<string>' to 'System.Collections.ICollection'. An explicit conversion exists (are you missing a cast?)
> C:\Projects\lucene.net\Lucene.Net_2_9_2\contrib\Similarity.Net\Similarity.Net\Similar\MoreLikeThis.cs(521,57): error CS0266: Cannot implicitly convert type 'System.Collections.Generic.ICollection<string>' to 'System.Collections.ICollection'. An explicit conversion exists (are you missing a cast?)
> This is caused by IndexReader.GetFieldNames returns a ICollection<string> rather then just a ICollection as before.

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


[jira] Commented: (LUCENENET-368) Similarity.Net doesn't compile with Lucene trunk

Posted by "Digy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENENET-368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12871213#action_12871213 ] 

Digy commented on LUCENENET-368:
--------------------------------

I'll fix it.  
But;
Similarity.Net is obsolete. Use Queries.Net instead. 
All of its functionalities have been moved to Queries.Net and it is about to be removed from contrib in next versions.
(https://svn.apache.org/repos/asf/lucene/lucene.net/trunk/C%23/contrib/README.txt)


DIGY

> Similarity.Net doesn't compile with Lucene trunk
> ------------------------------------------------
>
>                 Key: LUCENENET-368
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-368
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Simone Chiaretta
>            Priority: Minor
>         Attachments: similarity-net-cantcompile.patch
>
>
> If you compile Similarity.Net using Lucene.net 2.9.2 (or also from trunk) you get the following compile error:
> C:\Projects\lucene.net\Lucene.Net_2_9_2\contrib\Similarity.Net\Similarity.Net\Similar\MoreLikeThis.cs(500,57): error CS0266: Cannot implicitly convert type 'System.Collections.Generic.ICollection<string>' to 'System.Collections.ICollection'. An explicit conversion exists (are you missing a cast?)
> C:\Projects\lucene.net\Lucene.Net_2_9_2\contrib\Similarity.Net\Similarity.Net\Similar\MoreLikeThis.cs(521,57): error CS0266: Cannot implicitly convert type 'System.Collections.Generic.ICollection<string>' to 'System.Collections.ICollection'. An explicit conversion exists (are you missing a cast?)
> This is caused by IndexReader.GetFieldNames returns a ICollection<string> rather then just a ICollection as before.

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


[jira] Updated: (LUCENENET-368) Similarity.Net doesn't compile with Lucene trunk

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

Simone Chiaretta updated LUCENENET-368:
---------------------------------------

    Attachment: similarity-net-cantcompile.patch

Attached is the patch to fix this compile error

> Similarity.Net doesn't compile with Lucene trunk
> ------------------------------------------------
>
>                 Key: LUCENENET-368
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-368
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Simone Chiaretta
>            Priority: Minor
>         Attachments: similarity-net-cantcompile.patch
>
>
> If you compile Similarity.Net using Lucene.net 2.9.2 (or also from trunk) you get the following compile error:
> C:\Projects\lucene.net\Lucene.Net_2_9_2\contrib\Similarity.Net\Similarity.Net\Similar\MoreLikeThis.cs(500,57): error CS0266: Cannot implicitly convert type 'System.Collections.Generic.ICollection<string>' to 'System.Collections.ICollection'. An explicit conversion exists (are you missing a cast?)
> C:\Projects\lucene.net\Lucene.Net_2_9_2\contrib\Similarity.Net\Similarity.Net\Similar\MoreLikeThis.cs(521,57): error CS0266: Cannot implicitly convert type 'System.Collections.Generic.ICollection<string>' to 'System.Collections.ICollection'. An explicit conversion exists (are you missing a cast?)
> This is caused by IndexReader.GetFieldNames returns a ICollection<string> rather then just a ICollection as before.

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