You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Steven A Rowe <sa...@syr.edu> on 2009/03/03 22:44:04 UTC

Iterable in FieldCacheTermsFilter (LUCENE-1487)

FieldCacheTermsFilter on trunk uses Iterable, a language feature not present in Java 1.4.  This is counter to the policy of maintaining Java 1.4 compatibility until the Lucene 3.0 release, isn't it?

Steve

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


Re: Iterable in FieldCacheTermsFilter (LUCENE-1487)

Posted by Michael McCandless <lu...@mikemccandless.com>.
I think I'll replace it with simple String[].  Any objections?

Mike

Steven A Rowe wrote:

> FieldCacheTermsFilter on trunk uses Iterable, a language feature not  
> present in Java 1.4.  This is counter to the policy of maintaining  
> Java 1.4 compatibility until the Lucene 3.0 release, isn't it?
>
> Steve
>
> ---------------------------------------------------------------------
> 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: Iterable in FieldCacheTermsFilter (LUCENE-1487)

Posted by Michael McCandless <lu...@mikemccandless.com>.
+1

I'll go make that change.

Mike

Uwe Schindler wrote:

> The simpliest would be to simply try compiling with an old java 1.4  
> before
> releasing 2.9. We could add this to the release howto in wiki.
>
> Uwe
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
>> From: Michael McCandless [mailto:lucene@mikemccandless.com]
>> Sent: Wednesday, March 04, 2009 11:38 AM
>> To: java-dev@lucene.apache.org
>> Subject: Re: Iterable in FieldCacheTermsFilter (LUCENE-1487)
>>
>>
>> Maybe... though I would really prefer to spend our collective energy
>> towards releasing 2.9 instead ;)  Hmm, we've got 41 issues for 2.9
>> right now:
>>
>>
>> https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&mode=
>> hide&sorter/order=DESC&sorter/field=priority&resolution=-
>> 1&pid=12310110&fixfor=12312682
>>
>> Mike
>>
>> Uwe Schindler wrote:
>>
>>> Maybe this is the way to go until Lucene 3.0:
>>> https://issues.apache.org/jira/browse/LUCENE-718
>>>
>>> Is it a problem to copy 1.4 rt.jar to Hudson and specify it in
>>> build.xml?
>>>
>>> -----
>>> Uwe Schindler
>>> H.-H.-Meier-Allee 63, D-28213 Bremen
>>> http://www.thetaphi.de
>>> eMail: uwe@thetaphi.de
>>>
>>>> From: Michael McCandless [mailto:lucene@mikemccandless.com]
>>>> Sent: Tuesday, March 03, 2009 10:50 PM
>>>> To: java-dev@lucene.apache.org
>>>> Subject: Re: Iterable in FieldCacheTermsFilter (LUCENE-1487)
>>>>
>>>>
>>>> Gak, you're right!
>>>>
>>>> I'll fix.
>>>>
>>>> Mike
>>>>
>>>> Steven A Rowe wrote:
>>>>
>>>>> FieldCacheTermsFilter on trunk uses Iterable, a language feature  
>>>>> not
>>>>> present in Java 1.4.  This is counter to the policy of maintaining
>>>>> Java 1.4 compatibility until the Lucene 3.0 release, isn't it?
>>>>>
>>>>> Steve
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> 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
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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
>
>
>
> ---------------------------------------------------------------------
> 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: Iterable in FieldCacheTermsFilter (LUCENE-1487)

Posted by Uwe Schindler <uw...@thetaphi.de>.
The simpliest would be to simply try compiling with an old java 1.4 before
releasing 2.9. We could add this to the release howto in wiki.

Uwe

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de

> From: Michael McCandless [mailto:lucene@mikemccandless.com]
> Sent: Wednesday, March 04, 2009 11:38 AM
> To: java-dev@lucene.apache.org
> Subject: Re: Iterable in FieldCacheTermsFilter (LUCENE-1487)
> 
> 
> Maybe... though I would really prefer to spend our collective energy
> towards releasing 2.9 instead ;)  Hmm, we've got 41 issues for 2.9
> right now:
> 
> 
> https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&mode=
> hide&sorter/order=DESC&sorter/field=priority&resolution=-
> 1&pid=12310110&fixfor=12312682
> 
> Mike
> 
> Uwe Schindler wrote:
> 
> > Maybe this is the way to go until Lucene 3.0:
> > https://issues.apache.org/jira/browse/LUCENE-718
> >
> > Is it a problem to copy 1.4 rt.jar to Hudson and specify it in
> > build.xml?
> >
> > -----
> > Uwe Schindler
> > H.-H.-Meier-Allee 63, D-28213 Bremen
> > http://www.thetaphi.de
> > eMail: uwe@thetaphi.de
> >
> >> From: Michael McCandless [mailto:lucene@mikemccandless.com]
> >> Sent: Tuesday, March 03, 2009 10:50 PM
> >> To: java-dev@lucene.apache.org
> >> Subject: Re: Iterable in FieldCacheTermsFilter (LUCENE-1487)
> >>
> >>
> >> Gak, you're right!
> >>
> >> I'll fix.
> >>
> >> Mike
> >>
> >> Steven A Rowe wrote:
> >>
> >>> FieldCacheTermsFilter on trunk uses Iterable, a language feature not
> >>> present in Java 1.4.  This is counter to the policy of maintaining
> >>> Java 1.4 compatibility until the Lucene 3.0 release, isn't it?
> >>>
> >>> Steve
> >>>
> >>> ---------------------------------------------------------------------
> >>> 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
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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



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


Re: Iterable in FieldCacheTermsFilter (LUCENE-1487)

Posted by Michael McCandless <lu...@mikemccandless.com>.
Maybe... though I would really prefer to spend our collective energy  
towards releasing 2.9 instead ;)  Hmm, we've got 41 issues for 2.9  
right now:

     https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&mode=hide&sorter/order=DESC&sorter/field=priority&resolution=-1&pid=12310110&fixfor=12312682

Mike

Uwe Schindler wrote:

> Maybe this is the way to go until Lucene 3.0:
> https://issues.apache.org/jira/browse/LUCENE-718
>
> Is it a problem to copy 1.4 rt.jar to Hudson and specify it in  
> build.xml?
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
>> From: Michael McCandless [mailto:lucene@mikemccandless.com]
>> Sent: Tuesday, March 03, 2009 10:50 PM
>> To: java-dev@lucene.apache.org
>> Subject: Re: Iterable in FieldCacheTermsFilter (LUCENE-1487)
>>
>>
>> Gak, you're right!
>>
>> I'll fix.
>>
>> Mike
>>
>> Steven A Rowe wrote:
>>
>>> FieldCacheTermsFilter on trunk uses Iterable, a language feature not
>>> present in Java 1.4.  This is counter to the policy of maintaining
>>> Java 1.4 compatibility until the Lucene 3.0 release, isn't it?
>>>
>>> Steve
>>>
>>> ---------------------------------------------------------------------
>>> 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
>
>
>
> ---------------------------------------------------------------------
> 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: Iterable in FieldCacheTermsFilter (LUCENE-1487)

Posted by Uwe Schindler <uw...@thetaphi.de>.
Maybe this is the way to go until Lucene 3.0:
https://issues.apache.org/jira/browse/LUCENE-718

Is it a problem to copy 1.4 rt.jar to Hudson and specify it in build.xml?

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de

> From: Michael McCandless [mailto:lucene@mikemccandless.com]
> Sent: Tuesday, March 03, 2009 10:50 PM
> To: java-dev@lucene.apache.org
> Subject: Re: Iterable in FieldCacheTermsFilter (LUCENE-1487)
> 
> 
> Gak, you're right!
> 
> I'll fix.
> 
> Mike
> 
> Steven A Rowe wrote:
> 
> > FieldCacheTermsFilter on trunk uses Iterable, a language feature not
> > present in Java 1.4.  This is counter to the policy of maintaining
> > Java 1.4 compatibility until the Lucene 3.0 release, isn't it?
> >
> > Steve
> >
> > ---------------------------------------------------------------------
> > 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



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


Re: Iterable in FieldCacheTermsFilter (LUCENE-1487)

Posted by Michael McCandless <lu...@mikemccandless.com>.
Gak, you're right!

I'll fix.

Mike

Steven A Rowe wrote:

> FieldCacheTermsFilter on trunk uses Iterable, a language feature not  
> present in Java 1.4.  This is counter to the policy of maintaining  
> Java 1.4 compatibility until the Lucene 3.0 release, isn't it?
>
> Steve
>
> ---------------------------------------------------------------------
> 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