Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-User

Lucene 2.x to 4.x upgrade possible?

 

 

Lucene java-user RSS feed   Index | Next | Previous | View Threaded


nilesh.vijay at gmail

Jul 17, 2012, 2:13 PM

Post #1 of 5 (189 views)
Permalink
Lucene 2.x to 4.x upgrade possible?

Hi Folks,

I need your help in determining whether we upgrade to 3.6 or wait till 4.0
becomes stable.

We are currently using 2.x version of lucene and would like to upgrade to
3.6(and 4.0 ultimately). But we were informed by few blogs that 4.0 will
not be backward compatible which means that the our customers who currently
have 2.x will not be able to upgrade to our latest release which would have
4.0.

Another blog mentioned that people using 2.x and looking upgrade to 4.0
should wait till 4.0 becomes stable. We are kind of confused with
contracting thoughts here. Does it mean that 4.0 ALPHA doesn't support
backward compatibility and recommendation is to use 4.0 stable for backward
compatiblity?

Basically, to embark on process of upgrading lucene to 3.6(and 4.0 later)
depends on whether customer having 2.x can upgrade to 4.0 or not.

Thanks


ian.lea at gmail

Jul 18, 2012, 1:58 AM

Post #2 of 5 (187 views)
Permalink
Re: Lucene 2.x to 4.x upgrade possible? [In reply to]

The release notice for 4.0-alpha sent to this list says "file format
backwards compatibility is provided for indexes from the 3.0 series"
so you won't be able to go straight from 2.x to 4.0. I'm sure that
will remain true for all 4.x releases. The comments about waiting for
a stable release of 4.0 surely just reflect the fact that alpha
releases are for testers/early adopters, not customers.

If it was me I'd upgrade to 3.6 now, but paying attention to 4.x as
well in the sense that if you have to change a 2.x call to something
else and have a couple of choices for that, choose the one that will
also work in 4.x. No idea how often you'll have that choice but
sounds like a good idea.


--
Ian.

On Tue, Jul 17, 2012 at 10:13 PM, Nilesh Vijaywargiay
<nilesh.vijay [at] gmail> wrote:
> Hi Folks,
>
> I need your help in determining whether we upgrade to 3.6 or wait till 4.0
> becomes stable.
>
> We are currently using 2.x version of lucene and would like to upgrade to
> 3.6(and 4.0 ultimately). But we were informed by few blogs that 4.0 will
> not be backward compatible which means that the our customers who currently
> have 2.x will not be able to upgrade to our latest release which would have
> 4.0.
>
> Another blog mentioned that people using 2.x and looking upgrade to 4.0
> should wait till 4.0 becomes stable. We are kind of confused with
> contracting thoughts here. Does it mean that 4.0 ALPHA doesn't support
> backward compatibility and recommendation is to use 4.0 stable for backward
> compatiblity?
>
> Basically, to embark on process of upgrading lucene to 3.6(and 4.0 later)
> depends on whether customer having 2.x can upgrade to 4.0 or not.
>
> Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
For additional commands, e-mail: java-user-help [at] lucene


uwe at thetaphi

Jul 18, 2012, 2:13 AM

Post #3 of 5 (185 views)
Permalink
RE: Lucene 2.x to 4.x upgrade possible? [In reply to]

Hi,

You have to first "convert" your indexes with version 3.x to migrate from
2.x to 4.0. This can be done with the new tool called "IndexUpgrader"
(available since Lucene 3.2 or like that). You can call it from command
line, it will upgrade all index segments to the latest version you are using
to call this tool. You might want to ship your product with a Lucene 3.6.x
lucene-core.jar file just to call the IndexUpgrader tool.

If you are starting development, I would now use Lucene 4.0-ALPHA. The final
version will come out when you finish your product. As the API changed
completely (2 times 2.x->3.x, 3.x->4.0) it's better to not do the work two
times.

Uwe

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


> -----Original Message-----
> From: Nilesh Vijaywargiay [mailto:nilesh.vijay [at] gmail]
> Sent: Tuesday, July 17, 2012 11:14 PM
> To: java-user [at] lucene
> Subject: Lucene 2.x to 4.x upgrade possible?
>
> Hi Folks,
>
> I need your help in determining whether we upgrade to 3.6 or wait till 4.0
> becomes stable.
>
> We are currently using 2.x version of lucene and would like to upgrade to
> 3.6(and 4.0 ultimately). But we were informed by few blogs that 4.0 will
not be
> backward compatible which means that the our customers who currently have
> 2.x will not be able to upgrade to our latest release which would have
4.0.
>
> Another blog mentioned that people using 2.x and looking upgrade to 4.0
> should wait till 4.0 becomes stable. We are kind of confused with
contracting
> thoughts here. Does it mean that 4.0 ALPHA doesn't support backward
> compatibility and recommendation is to use 4.0 stable for backward
> compatiblity?
>
> Basically, to embark on process of upgrading lucene to 3.6(and 4.0 later)
> depends on whether customer having 2.x can upgrade to 4.0 or not.
>
> Thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
For additional commands, e-mail: java-user-help [at] lucene


uwe at thetaphi

Jul 18, 2012, 2:16 AM

Post #4 of 5 (186 views)
Permalink
RE: Lucene 2.x to 4.x upgrade possible? [In reply to]

The tool docs can be found here: http://goo.gl/TbbxC

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


> -----Original Message-----
> From: Uwe Schindler [mailto:uwe [at] thetaphi]
> Sent: Wednesday, July 18, 2012 11:13 AM
> To: java-user [at] lucene
> Subject: RE: Lucene 2.x to 4.x upgrade possible?
>
> Hi,
>
> You have to first "convert" your indexes with version 3.x to migrate from
2.x to
> 4.0. This can be done with the new tool called "IndexUpgrader"
> (available since Lucene 3.2 or like that). You can call it from command
line, it
> will upgrade all index segments to the latest version you are using to
call this
> tool. You might want to ship your product with a Lucene 3.6.x
lucene-core.jar
> file just to call the IndexUpgrader tool.
>
> If you are starting development, I would now use Lucene 4.0-ALPHA. The
final
> version will come out when you finish your product. As the API changed
> completely (2 times 2.x->3.x, 3.x->4.0) it's better to not do the work two
times.
>
> Uwe
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe [at] thetaphi
>
>
> > -----Original Message-----
> > From: Nilesh Vijaywargiay [mailto:nilesh.vijay [at] gmail]
> > Sent: Tuesday, July 17, 2012 11:14 PM
> > To: java-user [at] lucene
> > Subject: Lucene 2.x to 4.x upgrade possible?
> >
> > Hi Folks,
> >
> > I need your help in determining whether we upgrade to 3.6 or wait till
> > 4.0 becomes stable.
> >
> > We are currently using 2.x version of lucene and would like to upgrade
> > to 3.6(and 4.0 ultimately). But we were informed by few blogs that 4.0
> > will
> not be
> > backward compatible which means that the our customers who currently
> > have 2.x will not be able to upgrade to our latest release which would
> > have
> 4.0.
> >
> > Another blog mentioned that people using 2.x and looking upgrade to
> > 4.0 should wait till 4.0 becomes stable. We are kind of confused with
> contracting
> > thoughts here. Does it mean that 4.0 ALPHA doesn't support backward
> > compatibility and recommendation is to use 4.0 stable for backward
> > compatiblity?
> >
> > Basically, to embark on process of upgrading lucene to 3.6(and 4.0
> > later) depends on whether customer having 2.x can upgrade to 4.0 or not.
> >
> > Thanks
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
> For additional commands, e-mail: java-user-help [at] lucene


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
For additional commands, e-mail: java-user-help [at] lucene


ian.lea at gmail

Jul 18, 2012, 2:29 AM

Post #5 of 5 (188 views)
Permalink
Re: Lucene 2.x to 4.x upgrade possible? [In reply to]

I'd forgotten about IndexUpgrader, but I'd still go for 3.6. I
wouldn't want the complexity of shipping two versions of lucene and
having to get customers to run an upgrade script. And probably
wouldn't want to ship the first stable version of 4.0, even though
lucene is very stable and reliable.

But your product and your customers and your timescales, so your choice.


--
Ian.


On Wed, Jul 18, 2012 at 10:13 AM, Uwe Schindler <uwe [at] thetaphi> wrote:
> Hi,
>
> You have to first "convert" your indexes with version 3.x to migrate from
> 2.x to 4.0. This can be done with the new tool called "IndexUpgrader"
> (available since Lucene 3.2 or like that). You can call it from command
> line, it will upgrade all index segments to the latest version you are using
> to call this tool. You might want to ship your product with a Lucene 3.6.x
> lucene-core.jar file just to call the IndexUpgrader tool.
>
> If you are starting development, I would now use Lucene 4.0-ALPHA. The final
> version will come out when you finish your product. As the API changed
> completely (2 times 2.x->3.x, 3.x->4.0) it's better to not do the work two
> times.
>
> Uwe
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe [at] thetaphi
>
>
>> -----Original Message-----
>> From: Nilesh Vijaywargiay [mailto:nilesh.vijay [at] gmail]
>> Sent: Tuesday, July 17, 2012 11:14 PM
>> To: java-user [at] lucene
>> Subject: Lucene 2.x to 4.x upgrade possible?
>>
>> Hi Folks,
>>
>> I need your help in determining whether we upgrade to 3.6 or wait till 4.0
>> becomes stable.
>>
>> We are currently using 2.x version of lucene and would like to upgrade to
>> 3.6(and 4.0 ultimately). But we were informed by few blogs that 4.0 will
> not be
>> backward compatible which means that the our customers who currently have
>> 2.x will not be able to upgrade to our latest release which would have
> 4.0.
>>
>> Another blog mentioned that people using 2.x and looking upgrade to 4.0
>> should wait till 4.0 becomes stable. We are kind of confused with
> contracting
>> thoughts here. Does it mean that 4.0 ALPHA doesn't support backward
>> compatibility and recommendation is to use 4.0 stable for backward
>> compatiblity?
>>
>> Basically, to embark on process of upgrading lucene to 3.6(and 4.0 later)
>> depends on whether customer having 2.x can upgrade to 4.0 or not.
>>
>> Thanks
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
> For additional commands, e-mail: java-user-help [at] lucene
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
For additional commands, e-mail: java-user-help [at] lucene

Lucene java-user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.