You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Grant Ingersoll (JIRA)" <ji...@apache.org> on 2006/02/25 23:00:53 UTC

[jira] Created: (LUCENE-500) Lucene 2.0 requirements - Remove all deprecated code

Lucene 2.0 requirements - Remove all deprecated code
----------------------------------------------------

         Key: LUCENE-500
         URL: http://issues.apache.org/jira/browse/LUCENE-500
     Project: Lucene - Java
        Type: Task
    Versions: 1.9    
    Reporter: Grant Ingersoll


Per the move to Lucene 2.0 from 1.9, remove all deprecated code and update documentation, etc.

Patch to follow shortly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-500) Lucene 2.0 requirements - Remove all deprecated code

Posted by "Daniel Naber (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LUCENE-500?page=comments#action_12368578 ] 

Daniel Naber commented on LUCENE-500:
-------------------------------------

DateField should not be removed, as that would mean people cannot easily access date values created with Lucene 1.4. I know the fact that it's deprecated is strange, but I didn't know how else to draw people's attention to the fact that they should (not must) use DateTools.


> Lucene 2.0 requirements - Remove all deprecated code
> ----------------------------------------------------
>
>          Key: LUCENE-500
>          URL: http://issues.apache.org/jira/browse/LUCENE-500
>      Project: Lucene - Java
>         Type: Task
>     Versions: 1.9
>     Reporter: Grant Ingersoll
>  Attachments: deprecation.txt
>
> Per the move to Lucene 2.0 from 1.9, remove all deprecated code and update documentation, etc.
> Patch to follow shortly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-500) Lucene 2.0 requirements - Remove all deprecated code

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LUCENE-500?page=comments#action_12371304 ] 

Yonik Seeley commented on LUCENE-500:
-------------------------------------

OK, I removed the zero length files.
Should should the empty src/test-deprecated directory hierarchy also be removed, or should it be left in place when other tests become deprecated?

> Lucene 2.0 requirements - Remove all deprecated code
> ----------------------------------------------------
>
>          Key: LUCENE-500
>          URL: http://issues.apache.org/jira/browse/LUCENE-500
>      Project: Lucene - Java
>         Type: Task
>     Versions: 1.9
>     Reporter: Grant Ingersoll
>  Attachments: deprecation.txt, deprecation2.txt
>
> Per the move to Lucene 2.0 from 1.9, remove all deprecated code and update documentation, etc.
> Patch to follow shortly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-500) Lucene 2.0 requirements - Remove all deprecated code

Posted by "paul.elschot (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LUCENE-500?page=comments#action_12371389 ] 

paul.elschot commented on LUCENE-500:
-------------------------------------

Here, at revision 387786, the target common.compile-test fails because a few previously deprecated methods
are still being used in test code (Field creation and BooleanQuery.add() in TestKipping* and TestRewriting).
Is there someone looking into this, or shall I provide a patch?




> Lucene 2.0 requirements - Remove all deprecated code
> ----------------------------------------------------
>
>          Key: LUCENE-500
>          URL: http://issues.apache.org/jira/browse/LUCENE-500
>      Project: Lucene - Java
>         Type: Task
>     Versions: 1.9
>     Reporter: Grant Ingersoll
>  Attachments: deprecation.txt, deprecation2.txt
>
> Per the move to Lucene 2.0 from 1.9, remove all deprecated code and update documentation, etc.
> Patch to follow shortly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-500) Lucene 2.0 requirements - Remove all deprecated code

Posted by "Daniel Naber (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LUCENE-500?page=comments#action_12368949 ] 

Daniel Naber commented on LUCENE-500:
-------------------------------------

I have no plan to fix this, because I consider this a rather exotic feature and because it should not be difficult to extend QueryParser so that it supports the new format. If you know an elegant solution, patches are welcome.

> Lucene 2.0 requirements - Remove all deprecated code
> ----------------------------------------------------
>
>          Key: LUCENE-500
>          URL: http://issues.apache.org/jira/browse/LUCENE-500
>      Project: Lucene - Java
>         Type: Task
>     Versions: 1.9
>     Reporter: Grant Ingersoll
>  Attachments: deprecation.txt
>
> Per the move to Lucene 2.0 from 1.9, remove all deprecated code and update documentation, etc.
> Patch to follow shortly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-500) Lucene 2.0 requirements - Remove all deprecated code

Posted by "Grant Ingersoll (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LUCENE-500?page=comments#action_12369050 ] 

Grant Ingersoll commented on LUCENE-500:
----------------------------------------

I am not sure what the implications of not changing it are.  Are Query Parser generated Range Queries really that exotic?   

I am more than happy to roll back the involved code, but I am not sure if that is the right thing to do.   I know we have a large install base, but it seems to me that people understand that a major revision (i.e moving from 1.x to 2.x) is going to result in some things breaking and that, if they want to upgrade to 2.0, then they will have to do some more work.

At any rate, I will take another look at the code involved and see if I have any bright ideas for how to deal with it.

> Lucene 2.0 requirements - Remove all deprecated code
> ----------------------------------------------------
>
>          Key: LUCENE-500
>          URL: http://issues.apache.org/jira/browse/LUCENE-500
>      Project: Lucene - Java
>         Type: Task
>     Versions: 1.9
>     Reporter: Grant Ingersoll
>  Attachments: deprecation.txt
>
> Per the move to Lucene 2.0 from 1.9, remove all deprecated code and update documentation, etc.
> Patch to follow shortly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-500) Lucene 2.0 requirements - Remove all deprecated code

Posted by "Daniel Naber (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LUCENE-500?page=comments#action_12369080 ] 

Daniel Naber commented on LUCENE-500:
-------------------------------------

RangeQueries built via QueryParser are probably common, but not necessarily those that parse the local date format to a DateField, and only these are affected. I'm not sure what to do either, but we can read old index files so we somehow need to make sure the data in the old format can still be interpreted.


> Lucene 2.0 requirements - Remove all deprecated code
> ----------------------------------------------------
>
>          Key: LUCENE-500
>          URL: http://issues.apache.org/jira/browse/LUCENE-500
>      Project: Lucene - Java
>         Type: Task
>     Versions: 1.9
>     Reporter: Grant Ingersoll
>  Attachments: deprecation.txt
>
> Per the move to Lucene 2.0 from 1.9, remove all deprecated code and update documentation, etc.
> Patch to follow shortly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Updated: (LUCENE-500) Lucene 2.0 requirements - Remove all deprecated code

Posted by "Grant Ingersoll (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/LUCENE-500?page=all ]

Grant Ingersoll updated LUCENE-500:
-----------------------------------

    Attachment: deprecation.txt

 Removed all deprecated methods/classes/tests/files.  I know the paint isn't dry on 1.9, but thought I would get a leap on 2.0...

Other notes:

1. Analyzer.java -- Made the tokenStream(String, Reader) into an abstract method.

2. Some items that were marked as deprecated actually needed a reduction in visibility from public to private, and the getter/setters referenced instead

3. All tests pass.

4. Removed test-deprecated.

5. The file deprecation-notes.txt are most likely included in the patch, but they can be deleted, as this comment is more recent.

6.  I _did not_ review the documentation (i.e. javadocs, demo/tutorial, etc.) to look for references to deprecated items

Let me know if there is anything else that is needed.

-Grant

> Lucene 2.0 requirements - Remove all deprecated code
> ----------------------------------------------------
>
>          Key: LUCENE-500
>          URL: http://issues.apache.org/jira/browse/LUCENE-500
>      Project: Lucene - Java
>         Type: Task
>     Versions: 1.9
>     Reporter: Grant Ingersoll
>  Attachments: deprecation.txt
>
> Per the move to Lucene 2.0 from 1.9, remove all deprecated code and update documentation, etc.
> Patch to follow shortly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Updated: (LUCENE-500) Lucene 2.0 requirements - Remove all deprecated code

Posted by "Grant Ingersoll (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/LUCENE-500?page=all ]

Grant Ingersoll updated LUCENE-500:
-----------------------------------

    Attachment: deprecation2.txt

OK, here is the update.  I restored DateField (so it is not removed in the patch) and it's usage in QueryParser. 

I did _not_ restore it's usage anywhere else outside of QP and it's Test.

All tests pass.

> Lucene 2.0 requirements - Remove all deprecated code
> ----------------------------------------------------
>
>          Key: LUCENE-500
>          URL: http://issues.apache.org/jira/browse/LUCENE-500
>      Project: Lucene - Java
>         Type: Task
>     Versions: 1.9
>     Reporter: Grant Ingersoll
>  Attachments: deprecation.txt, deprecation2.txt
>
> Per the move to Lucene 2.0 from 1.9, remove all deprecated code and update documentation, etc.
> Patch to follow shortly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Closed: (LUCENE-500) Lucene 2.0 requirements - Remove all deprecated code

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/LUCENE-500?page=all ]
     
Yonik Seeley closed LUCENE-500:
-------------------------------

    Fix Version: 2.0
     Resolution: Fixed
      Assign To: Yonik Seeley

Closing... I think we pretty much covered this.

> Lucene 2.0 requirements - Remove all deprecated code
> ----------------------------------------------------
>
>          Key: LUCENE-500
>          URL: http://issues.apache.org/jira/browse/LUCENE-500
>      Project: Lucene - Java
>         Type: Task

>     Versions: 1.9
>     Reporter: Grant Ingersoll
>     Assignee: Yonik Seeley
>      Fix For: 2.0
>  Attachments: deprecation.txt, deprecation2.txt
>
> Per the move to Lucene 2.0 from 1.9, remove all deprecated code and update documentation, etc.
> Patch to follow shortly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-500) Lucene 2.0 requirements - Remove all deprecated code

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LUCENE-500?page=comments#action_12371260 ] 

Yonik Seeley commented on LUCENE-500:
-------------------------------------

OK, I think I got all of the deprecation related failures in "ant test-contrib".
It's tough to tell for sure since there are many other types of failures in test-contrib.

> Lucene 2.0 requirements - Remove all deprecated code
> ----------------------------------------------------
>
>          Key: LUCENE-500
>          URL: http://issues.apache.org/jira/browse/LUCENE-500
>      Project: Lucene - Java
>         Type: Task
>     Versions: 1.9
>     Reporter: Grant Ingersoll
>  Attachments: deprecation.txt, deprecation2.txt
>
> Per the move to Lucene 2.0 from 1.9, remove all deprecated code and update documentation, etc.
> Patch to follow shortly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-500) Lucene 2.0 requirements - Remove all deprecated code

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LUCENE-500?page=comments#action_12371309 ] 

Doug Cutting commented on LUCENE-500:
-------------------------------------

+1 for removing the empty directory.  It can always be recreated if it is needed again.

> Lucene 2.0 requirements - Remove all deprecated code
> ----------------------------------------------------
>
>          Key: LUCENE-500
>          URL: http://issues.apache.org/jira/browse/LUCENE-500
>      Project: Lucene - Java
>         Type: Task
>     Versions: 1.9
>     Reporter: Grant Ingersoll
>  Attachments: deprecation.txt, deprecation2.txt
>
> Per the move to Lucene 2.0 from 1.9, remove all deprecated code and update documentation, etc.
> Patch to follow shortly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-500) Lucene 2.0 requirements - Remove all deprecated code

Posted by "Grant Ingersoll (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LUCENE-500?page=comments#action_12368704 ] 

Grant Ingersoll commented on LUCENE-500:
----------------------------------------

Does that mean, then, that the usages of it in the QueryParser and the DateFilter need to be preserved as well?  Doesn't that mean that anyone using the QP to do range queries will need their index to be created using DateField instead of DateTools?

Is there a way we can make DateTools be backward compatible to DateField when appropriate?  So that we could still remove DateField?

> Lucene 2.0 requirements - Remove all deprecated code
> ----------------------------------------------------
>
>          Key: LUCENE-500
>          URL: http://issues.apache.org/jira/browse/LUCENE-500
>      Project: Lucene - Java
>         Type: Task
>     Versions: 1.9
>     Reporter: Grant Ingersoll
>  Attachments: deprecation.txt
>
> Per the move to Lucene 2.0 from 1.9, remove all deprecated code and update documentation, etc.
> Patch to follow shortly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-500) Lucene 2.0 requirements - Remove all deprecated code

Posted by "Daniel Naber (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LUCENE-500?page=comments#action_12371327 ] 

Daniel Naber commented on LUCENE-500:
-------------------------------------

It seems QueryParser.java has been patched, but not QueryParser.jj.


> Lucene 2.0 requirements - Remove all deprecated code
> ----------------------------------------------------
>
>          Key: LUCENE-500
>          URL: http://issues.apache.org/jira/browse/LUCENE-500
>      Project: Lucene - Java
>         Type: Task
>     Versions: 1.9
>     Reporter: Grant Ingersoll
>  Attachments: deprecation.txt, deprecation2.txt
>
> Per the move to Lucene 2.0 from 1.9, remove all deprecated code and update documentation, etc.
> Patch to follow shortly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-500) Lucene 2.0 requirements - Remove all deprecated code

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LUCENE-500?page=comments#action_12370729 ] 

Doug Cutting commented on LUCENE-500:
-------------------------------------

I think we should commit this, except leave DateField deprecated rather than remove it, since that is the promise made.  We should probably remove that promise, however, so that we can eventually remove it.

We said we'd remove all deprecated code, and we won't.  But that won't break anyone who compiles in 1.9.1 without deprecation warnings, which is the more important promise.

Then we'll have a proto-2.0 release for developers to test.  We can separately decide how to handle dates in the QueryParser.  It would not be wrong to continue doing the same thing we've done in 1.9, would it?  That won't break anyone.

In short, let's not let this issue stop us from removing all of the other deprecated code and finding out whether anything else breaks.


> Lucene 2.0 requirements - Remove all deprecated code
> ----------------------------------------------------
>
>          Key: LUCENE-500
>          URL: http://issues.apache.org/jira/browse/LUCENE-500
>      Project: Lucene - Java
>         Type: Task
>     Versions: 1.9
>     Reporter: Grant Ingersoll
>  Attachments: deprecation.txt
>
> Per the move to Lucene 2.0 from 1.9, remove all deprecated code and update documentation, etc.
> Patch to follow shortly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-500) Lucene 2.0 requirements - Remove all deprecated code

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LUCENE-500?page=comments#action_12371249 ] 

Yonik Seeley commented on LUCENE-500:
-------------------------------------

Looks like there are still some things in contrib that use deprecated stuff... I'll look into it.


> Lucene 2.0 requirements - Remove all deprecated code
> ----------------------------------------------------
>
>          Key: LUCENE-500
>          URL: http://issues.apache.org/jira/browse/LUCENE-500
>      Project: Lucene - Java
>         Type: Task
>     Versions: 1.9
>     Reporter: Grant Ingersoll
>  Attachments: deprecation.txt, deprecation2.txt
>
> Per the move to Lucene 2.0 from 1.9, remove all deprecated code and update documentation, etc.
> Patch to follow shortly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Re: [jira] Commented: (LUCENE-500) Lucene 2.0 requirements - Remove all deprecated code

Posted by Otis Gospodnetic <ot...@yahoo.com>.
Didn't get to it today, and likely won't have time tomorrow.  I'll look for a new patch or do it next week.

Otis

----- Original Message ----
From: Grant Ingersoll <gs...@syr.edu>
To: java-dev@lucene.apache.org
Sent: Friday, March 17, 2006 8:21:31 AM
Subject: Re: [jira] Commented: (LUCENE-500) Lucene 2.0 requirements - Remove all deprecated code

I can this weekend, otherwise if you want to go ahead that is fine.  I 
think there are only two or three places that use DateField, plus the 
file itself.

Otis Gospodnetic (JIRA) wrote:
>     [ http://issues.apache.org/jira/browse/LUCENE-500?page=comments#action_12370765 ] 
>
> Otis Gospodnetic commented on LUCENE-500:
> -----------------------------------------
>
> Grant, it looks like we have a good plan for going forward.
> Can you/do you want to submit a new patch, or should I try to modify the original one?
>
>
>   
>> Lucene 2.0 requirements - Remove all deprecated code
>> ----------------------------------------------------
>>
>>          Key: LUCENE-500
>>          URL: http://issues.apache.org/jira/browse/LUCENE-500
>>      Project: Lucene - Java
>>         Type: Task
>>     Versions: 1.9
>>     Reporter: Grant Ingersoll
>>  Attachments: deprecation.txt
>>
>> Per the move to Lucene 2.0 from 1.9, remove all deprecated code and update documentation, etc.
>> Patch to follow shortly.
>>     
>
>   

-- 

Grant Ingersoll 
Sr. Software Engineer 
Center for Natural Language Processing 
Syracuse University 
School of Information Studies 
335 Hinds Hall 
Syracuse, NY 13244 

http://www.cnlp.org 
Voice:  315-443-5484 
Fax: 315-443-6886 


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Re: [jira] Commented: (LUCENE-500) Lucene 2.0 requirements - Remove all deprecated code

Posted by Grant Ingersoll <gs...@syr.edu>.
I can this weekend, otherwise if you want to go ahead that is fine.  I 
think there are only two or three places that use DateField, plus the 
file itself.

Otis Gospodnetic (JIRA) wrote:
>     [ http://issues.apache.org/jira/browse/LUCENE-500?page=comments#action_12370765 ] 
>
> Otis Gospodnetic commented on LUCENE-500:
> -----------------------------------------
>
> Grant, it looks like we have a good plan for going forward.
> Can you/do you want to submit a new patch, or should I try to modify the original one?
>
>
>   
>> Lucene 2.0 requirements - Remove all deprecated code
>> ----------------------------------------------------
>>
>>          Key: LUCENE-500
>>          URL: http://issues.apache.org/jira/browse/LUCENE-500
>>      Project: Lucene - Java
>>         Type: Task
>>     Versions: 1.9
>>     Reporter: Grant Ingersoll
>>  Attachments: deprecation.txt
>>
>> Per the move to Lucene 2.0 from 1.9, remove all deprecated code and update documentation, etc.
>> Patch to follow shortly.
>>     
>
>   

-- 

Grant Ingersoll 
Sr. Software Engineer 
Center for Natural Language Processing 
Syracuse University 
School of Information Studies 
335 Hinds Hall 
Syracuse, NY 13244 

http://www.cnlp.org 
Voice:  315-443-5484 
Fax: 315-443-6886 


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-500) Lucene 2.0 requirements - Remove all deprecated code

Posted by "Otis Gospodnetic (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LUCENE-500?page=comments#action_12370765 ] 

Otis Gospodnetic commented on LUCENE-500:
-----------------------------------------

Grant, it looks like we have a good plan for going forward.
Can you/do you want to submit a new patch, or should I try to modify the original one?


> Lucene 2.0 requirements - Remove all deprecated code
> ----------------------------------------------------
>
>          Key: LUCENE-500
>          URL: http://issues.apache.org/jira/browse/LUCENE-500
>      Project: Lucene - Java
>         Type: Task
>     Versions: 1.9
>     Reporter: Grant Ingersoll
>  Attachments: deprecation.txt
>
> Per the move to Lucene 2.0 from 1.9, remove all deprecated code and update documentation, etc.
> Patch to follow shortly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-500) Lucene 2.0 requirements - Remove all deprecated code

Posted by "Daniel Naber (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LUCENE-500?page=comments#action_12368910 ] 

Daniel Naber commented on LUCENE-500:
-------------------------------------

Answer to the first questions: yes and yes. DateTools could be made to read the old values transparently. Also the method to create the old format strings could be moved to DateTools, but the comment in DateField actually says that the class will not be removed.

> Lucene 2.0 requirements - Remove all deprecated code
> ----------------------------------------------------
>
>          Key: LUCENE-500
>          URL: http://issues.apache.org/jira/browse/LUCENE-500
>      Project: Lucene - Java
>         Type: Task
>     Versions: 1.9
>     Reporter: Grant Ingersoll
>  Attachments: deprecation.txt
>
> Per the move to Lucene 2.0 from 1.9, remove all deprecated code and update documentation, etc.
> Patch to follow shortly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-500) Lucene 2.0 requirements - Remove all deprecated code

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LUCENE-500?page=comments#action_12371248 ] 

Yonik Seeley commented on LUCENE-500:
-------------------------------------

Patch applied, thanks Grant!

Note: for some reason, I couldn't get the patch to apply cleanly to files being removed.  I removed those by hand.

> Lucene 2.0 requirements - Remove all deprecated code
> ----------------------------------------------------
>
>          Key: LUCENE-500
>          URL: http://issues.apache.org/jira/browse/LUCENE-500
>      Project: Lucene - Java
>         Type: Task
>     Versions: 1.9
>     Reporter: Grant Ingersoll
>  Attachments: deprecation.txt, deprecation2.txt
>
> Per the move to Lucene 2.0 from 1.9, remove all deprecated code and update documentation, etc.
> Patch to follow shortly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-500) Lucene 2.0 requirements - Remove all deprecated code

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LUCENE-500?page=comments#action_12368358 ] 

Doug Cutting commented on LUCENE-500:
-------------------------------------

+1

This looks like a good start towards 2.0.

> Lucene 2.0 requirements - Remove all deprecated code
> ----------------------------------------------------
>
>          Key: LUCENE-500
>          URL: http://issues.apache.org/jira/browse/LUCENE-500
>      Project: Lucene - Java
>         Type: Task
>     Versions: 1.9
>     Reporter: Grant Ingersoll
>  Attachments: deprecation.txt
>
> Per the move to Lucene 2.0 from 1.9, remove all deprecated code and update documentation, etc.
> Patch to follow shortly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-500) Lucene 2.0 requirements - Remove all deprecated code

Posted by "Grant Ingersoll (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LUCENE-500?page=comments#action_12368932 ] 

Grant Ingersoll commented on LUCENE-500:
----------------------------------------

OK, but then what is the plan for generating Range Queries in the QueryParser for those indexes that use DateTools instead?  Or is it not an issue?

> Lucene 2.0 requirements - Remove all deprecated code
> ----------------------------------------------------
>
>          Key: LUCENE-500
>          URL: http://issues.apache.org/jira/browse/LUCENE-500
>      Project: Lucene - Java
>         Type: Task
>     Versions: 1.9
>     Reporter: Grant Ingersoll
>  Attachments: deprecation.txt
>
> Per the move to Lucene 2.0 from 1.9, remove all deprecated code and update documentation, etc.
> Patch to follow shortly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-500) Lucene 2.0 requirements - Remove all deprecated code

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LUCENE-500?page=comments#action_12371340 ] 

Yonik Seeley commented on LUCENE-500:
-------------------------------------

Good catch Daniel... I'll try and get to it later tonight.

> Lucene 2.0 requirements - Remove all deprecated code
> ----------------------------------------------------
>
>          Key: LUCENE-500
>          URL: http://issues.apache.org/jira/browse/LUCENE-500
>      Project: Lucene - Java
>         Type: Task
>     Versions: 1.9
>     Reporter: Grant Ingersoll
>  Attachments: deprecation.txt, deprecation2.txt
>
> Per the move to Lucene 2.0 from 1.9, remove all deprecated code and update documentation, etc.
> Patch to follow shortly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-500) Lucene 2.0 requirements - Remove all deprecated code

Posted by "paul.elschot (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LUCENE-500?page=comments#action_12371392 ] 

paul.elschot commented on LUCENE-500:
-------------------------------------

Oops, I checked svn status for the test code, and the two tests that cause these compiler errors
never made it into the trunk, so please ignore this.

> Lucene 2.0 requirements - Remove all deprecated code
> ----------------------------------------------------
>
>          Key: LUCENE-500
>          URL: http://issues.apache.org/jira/browse/LUCENE-500
>      Project: Lucene - Java
>         Type: Task
>     Versions: 1.9
>     Reporter: Grant Ingersoll
>  Attachments: deprecation.txt, deprecation2.txt
>
> Per the move to Lucene 2.0 from 1.9, remove all deprecated code and update documentation, etc.
> Patch to follow shortly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-500) Lucene 2.0 requirements - Remove all deprecated code

Posted by "Grant Ingersoll (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LUCENE-500?page=comments#action_12370359 ] 

Grant Ingersoll commented on LUCENE-500:
----------------------------------------

What can I do to move this forward?

> Lucene 2.0 requirements - Remove all deprecated code
> ----------------------------------------------------
>
>          Key: LUCENE-500
>          URL: http://issues.apache.org/jira/browse/LUCENE-500
>      Project: Lucene - Java
>         Type: Task
>     Versions: 1.9
>     Reporter: Grant Ingersoll
>  Attachments: deprecation.txt
>
> Per the move to Lucene 2.0 from 1.9, remove all deprecated code and update documentation, etc.
> Patch to follow shortly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-500) Lucene 2.0 requirements - Remove all deprecated code

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LUCENE-500?page=comments#action_12370727 ] 

Yonik Seeley commented on LUCENE-500:
-------------------------------------

My take is that QueryParser should have never attempted to guess the type of the field.
It creates errors when you query on something that looks like a date, but isn't indexed using DateField or DateTools.

I guess we still need to make a choice on whether breaking the QueryParser compatability is OK or not for 2.0

> Lucene 2.0 requirements - Remove all deprecated code
> ----------------------------------------------------
>
>          Key: LUCENE-500
>          URL: http://issues.apache.org/jira/browse/LUCENE-500
>      Project: Lucene - Java
>         Type: Task
>     Versions: 1.9
>     Reporter: Grant Ingersoll
>  Attachments: deprecation.txt
>
> Per the move to Lucene 2.0 from 1.9, remove all deprecated code and update documentation, etc.
> Patch to follow shortly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-500) Lucene 2.0 requirements - Remove all deprecated code

Posted by "Daniel Naber (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LUCENE-500?page=comments#action_12371300 ] 

Daniel Naber commented on LUCENE-500:
-------------------------------------

Did files like DateFilter really get removed? On my local checkout DateFilter.java is now an empty file. ViewCVS on the web also still shows the file. Or is that expected behavior with subversion?


> Lucene 2.0 requirements - Remove all deprecated code
> ----------------------------------------------------
>
>          Key: LUCENE-500
>          URL: http://issues.apache.org/jira/browse/LUCENE-500
>      Project: Lucene - Java
>         Type: Task
>     Versions: 1.9
>     Reporter: Grant Ingersoll
>  Attachments: deprecation.txt, deprecation2.txt
>
> Per the move to Lucene 2.0 from 1.9, remove all deprecated code and update documentation, etc.
> Patch to follow shortly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org