

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
52 messages in org.apache.lucene.java-devLucene 3.0 and Java 5 (was Re: Finish...| From | Sent On | Attachments |
|---|---|---|
| Mark Miller | Aug 17, 2009 3:51 pm | |
| Michael Busch | Aug 17, 2009 7:34 pm | |
| Luis Alves | Aug 17, 2009 10:31 pm | |
| Uwe Schindler | Aug 17, 2009 11:09 pm | |
| Mark Miller | Aug 18, 2009 12:25 pm | |
| Michael McCandless | Aug 18, 2009 12:28 pm | |
| Mark Miller | Aug 19, 2009 7:49 am | |
| Yonik Seeley | Aug 19, 2009 8:17 am | |
| Grant Ingersoll | Aug 19, 2009 10:51 am | |
| Yonik Seeley | Aug 19, 2009 11:12 am | |
| Grant Ingersoll | Aug 19, 2009 11:43 am | |
| Mark Miller | Aug 19, 2009 12:08 pm | |
| Grant Ingersoll | Aug 19, 2009 1:08 pm | |
| Mark Miller | Aug 19, 2009 1:18 pm | |
| Michael Busch | Aug 19, 2009 1:24 pm | |
| Michael Busch | Aug 19, 2009 2:02 pm | |
| Mark Miller | Aug 19, 2009 2:36 pm | |
| Uwe Schindler | Aug 19, 2009 3:16 pm | |
| Mark Miller | Aug 19, 2009 3:21 pm | |
| Michael Busch | Aug 19, 2009 4:19 pm | |
| Michael McCandless | Aug 20, 2009 3:07 am | |
| Mark Miller | Aug 20, 2009 5:57 am | |
| Shai Erera | Aug 20, 2009 6:04 am | |
| Mark Miller | Aug 20, 2009 6:08 am | |
| Uwe Schindler | Aug 20, 2009 1:29 pm | |
| Grant Ingersoll | Aug 20, 2009 6:50 pm | |
| Mark Miller | Aug 20, 2009 7:00 pm | |
| Mark Miller | Aug 20, 2009 7:01 pm | |
| Uwe Schindler | Aug 20, 2009 10:42 pm | |
| Michael Busch | Aug 21, 2009 12:39 am | |
| Michael McCandless | Aug 23, 2009 10:18 am | |
| Mark Miller | Aug 23, 2009 10:37 am | |
| Robert Muir | Aug 23, 2009 10:38 am | |
| Simon Willnauer | Aug 23, 2009 11:06 am | |
| Mark Miller | Aug 23, 2009 11:45 am | |
| DM Smith | Aug 23, 2009 12:35 pm | |
| Michael McCandless | Aug 24, 2009 3:29 am | |
| Tim Smith | Aug 24, 2009 5:18 am | |
| Mark Miller | Aug 24, 2009 5:20 am | |
| Uwe Schindler | Aug 24, 2009 5:26 am | |
| Uwe Schindler | Aug 24, 2009 5:27 am | |
| Michael McCandless | Aug 24, 2009 8:43 am | |
| Marvin Humphrey | Aug 24, 2009 9:11 am | |
| Jason Rutherglen | Aug 24, 2009 10:32 am | |
| Michael McCandless | Aug 24, 2009 10:46 am | |
| Marvin Humphrey | Aug 24, 2009 11:10 am | |
| Shai Erera | Aug 24, 2009 12:14 pm | |
| Marvin Humphrey | Aug 24, 2009 12:49 pm | |
| Andi Vajda | Aug 25, 2009 8:44 am | |
| Andi Vajda | Aug 25, 2009 8:59 am | |
| Andi Vajda | Aug 25, 2009 9:10 am | |
| Mark Miller | Aug 25, 2009 9:15 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | Lucene 3.0 and Java 5 (was Re: Finishing Lucene 2.9) | Actions |
|---|---|---|
| From: | DM Smith (dmsm...@gmail.com) | |
| Date: | Aug 23, 2009 12:35:44 pm | |
| List: | org.apache.lucene.java-dev | |
On Aug 23, 2009, at 2:06 PM, Simon Willnauer wrote:
On Sun, Aug 23, 2009 at 7:38 PM, Robert Muir<rcm...@gmail.com> wrote:
just wanted to mention this (i honestly don't have any opinion either way):
Right, this (you can jump to 2.9, fix all deprecations, then easily move to 3.0 and see no deprecations) is my understanding too, but I don't see what's particularly useful about that. It does produce a Lucene release that has zero deprecated APIs (assuming we remove all of them), but I don't think that's very important. Also, it's extra work having to do a "no-op, except for deprecations removal and generics addition" release :)
But isn't it also true it could be a bit more than no-op: 1) changing to "better" defaults in cases where back compat prevents this. I think I remember a few of these? 2) bugfixes found after release of 2.9 3) performance improvements, not just from #1 but also from removal of back-compat shims (i.e. tokenstream reflection)
I am not saying this stuff is really important to users to merit a release, but I don't think it is a no-op either.
I agree with robert that this is very likely not to be a no-op release. Changing to 1.5 brings in generics and lots of other stuff which could bring improvements. All the concurrent improvements, VarArgs and Utils in classes like Integer (valueOf) etc. I believe that we find may places in the code where existing stuff could be improved with the ability to commit 1.5 code. Moving to 1.5 with 3.0 would be a clean step in my eyes. Having 3.0 with 1.4 back-compat and then 3.1 which get rid of this would confuse users.
My two cents. I think the contract of the 3.0 release is that it is a drop in replacement for the 2.9 release but requires Java 1.5. I expect to compile against Lucene 2.9 using Java 1.4, removing deprecations. And then go to Lucene 3.0 changing the compiler to Java 1.5 but making no code changes.
To that end, any introduction of Java 1.5 into the end-user/non-expert/ non-experimental/non-contrib API needs to work with existing code as is. It may require the user to compile with lax permissions using Java 1.5 and run with Java 1.5.
Requiring Java 1.5 can be as easy as using a Java 1.5 feature internally, in the expert or experimental APIs, and classes that are not part of the backward compatibility contract (e.g. utility classes).
I don't think there should be any effort to maintain Java 1.4 compatibility, but I also think changes should be made only where it makes sense, giving a clear advantage (performance, maintainability, ....). If that results in 1.4 compatibility it is a temporary benefit not guaranteed during the 3.x series.
I agree with previous threads that there is both a blessing and a curse with Lucene's backward compatibility release policy. My biggest gripe is the evolution toward bad class names. I would like to see a 4.0 release dedicated to fixing the name/api problems and making the API of Lucene be what it should have been for a 3.0 release. I'd also suggest that repackaging, suggested in a prior thread, be tackled also. This could follow a 3.0 release quickly.
-- DM Smith







