You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Prescott Nasser (JIRA)" <ji...@apache.org> on 2012/04/27 23:24:48 UTC

[jira] [Created] (LUCENENET-487) Remove Obsolete Members, Fields that are marked as obsolete and to be removed in 3.0

Prescott Nasser created LUCENENET-487:
-----------------------------------------

             Summary: Remove Obsolete Members, Fields that are marked as obsolete and to be removed in 3.0
                 Key: LUCENENET-487
                 URL: https://issues.apache.org/jira/browse/LUCENENET-487
             Project: Lucene.Net
          Issue Type: Task
    Affects Versions: Lucene.Net 3.0.3
            Reporter: Prescott Nasser
            Priority: Minor


We have several places where things are marked as obsolete and to be removed in 3.0. We should remove those. Also, care should be taken to comment what was removed (and what should be used in it's place), so that we can have complete and quality release notes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (LUCENENET-487) Remove Obsolete Members, Fields that are marked as obsolete and to be removed in 3.0

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

Christopher Currens resolved LUCENENET-487.
-------------------------------------------

       Resolution: Fixed
    Fix Version/s: Lucene.Net 3.0.3

I did a quick search across the source in Lucene, and I think the LongParser and DoubleParser are the only two items in the entire source, marked obsoleted for removal in 3.0.  There is one other object that is marked Obsolete to be removed in 3.x, but it is still in the 3.0.3 java code.

I'm going to remove the obsolete attributes from those two interfaces listed, because of the differences of java and C# (not .NET), we can't match this API.  Specifically, this reason is because even though Java and .NET allow static members and nested types (both static and instance types), it's invalid C# code, since it doesn't support it.

Either way, since we can't conform to the exact API that java does for the FieldCache, it wouldn't be a bad idea to clean it up.
                
> Remove Obsolete Members, Fields that are marked as obsolete and to be removed in 3.0
> ------------------------------------------------------------------------------------
>
>                 Key: LUCENENET-487
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-487
>             Project: Lucene.Net
>          Issue Type: Task
>    Affects Versions: Lucene.Net 3.0.3
>            Reporter: Prescott Nasser
>            Priority: Minor
>             Fix For: Lucene.Net 3.0.3
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> We have several places where things are marked as obsolete and to be removed in 3.0. We should remove those. Also, care should be taken to comment what was removed (and what should be used in it's place), so that we can have complete and quality release notes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (LUCENENET-487) Remove Obsolete Members, Fields that are marked as obsolete and to be removed in 3.0

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

Christopher Currens commented on LUCENENET-487:
-----------------------------------------------

I think they were changed to being nested in Lucene 3.0, but because of differences of Java and .NET, I don't think it was possible to do? (memory is foggy, but I think that's the case).
                
> Remove Obsolete Members, Fields that are marked as obsolete and to be removed in 3.0
> ------------------------------------------------------------------------------------
>
>                 Key: LUCENENET-487
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-487
>             Project: Lucene.Net
>          Issue Type: Task
>    Affects Versions: Lucene.Net 3.0.3
>            Reporter: Prescott Nasser
>            Priority: Minor
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> We have several places where things are marked as obsolete and to be removed in 3.0. We should remove those. Also, care should be taken to comment what was removed (and what should be used in it's place), so that we can have complete and quality release notes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (LUCENENET-487) Remove Obsolete Members, Fields that are marked as obsolete and to be removed in 3.0

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

Prescott Nasser commented on LUCENENET-487:
-------------------------------------------

LongParser and DoubleParser are marked as obsolete will be removed in 3.0. however, the cooresponding java code doesn't show as oboslete (http://svn.apache.org/viewvc/lucene/java/tags/lucene_3_0_3/src/java/org/apache/lucene/search/FieldCache.java?revision=1040994&view=markup). 

What am I missing?


    [Obsolete("Use FieldCache.LongParser, this will be removed in Lucene 3.0")]
	public interface LongParser:Parser
	{
		/// <summary>Return an long representation of this field's value. </summary>
		long ParseLong(System.String string_Renamed);
	}
	
    [Obsolete("Use FieldCache.DoubleParser, this will be removed in Lucene 3.0 ")]
	public interface DoubleParser:Parser
	{
		/// <summary>Return an long representation of this field's value. </summary>
		double ParseDouble(System.String string_Renamed);
	}
                
> Remove Obsolete Members, Fields that are marked as obsolete and to be removed in 3.0
> ------------------------------------------------------------------------------------
>
>                 Key: LUCENENET-487
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-487
>             Project: Lucene.Net
>          Issue Type: Task
>    Affects Versions: Lucene.Net 3.0.3
>            Reporter: Prescott Nasser
>            Priority: Minor
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> We have several places where things are marked as obsolete and to be removed in 3.0. We should remove those. Also, care should be taken to comment what was removed (and what should be used in it's place), so that we can have complete and quality release notes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira