Re: Solr upgrade to latest version

2014-09-24 Thread Erick Erickson
Did you look at the rest of this thread? There are some comments there.

The CHANGES.txt file will guide you through each intermediate step.

There's nothing going straight from 1.4 to 4.x. You could go from 1.4 - 3.x
then 3.x-4.x, but frankly I'd just start with a stock 4.x distro and
transfer over
only the things you've changed (like schema definitions, NOT the whole file,
see above) and re-index.

Best,
Erick

On Tue, Sep 23, 2014 at 10:23 PM, Vivek Misra getvive...@gmail.com wrote:

 Hi,

 Currently I am using SOLR 1.4.1 and want to migrate to SOLR 4.9.

 Is there any manual or link for 1.4 to 4.9? Which can guide step by step on

 1. solrconfig.xml changes

 2. schema.xml changes

 3. changes required in version 1.4.1 queries.


 Thanks

 Vivek






 On Tue, Sep 23, 2014 at 9:19 AM, Danesh Kuruppu dknkuru...@gmail.com
 wrote:

  Thanks Alex and Erick for quick response,
  This is really helpful.
 
  On Tue, Sep 23, 2014 at 1:19 AM, Erick Erickson erickerick...@gmail.com
 
  wrote:
 
   Probably go for 4.9.1. There'll be a 4.10.1 out in the not-too-distant
   future that you can upgrade to if you wish. 4.9.1 - 4.10.1 should be
   quite painless.
  
   But do _not_ copy your schema.xml and solrconfig.xml files over form
   1.4 to 4.x. There are some fairly easy ways to shoot yourself in the
   foot there. Take the stock distribution configuration files and copy
   _parts_ of your schema.xml and solrconfig.xml you care about.
  
   If you're using multiple cores, read about core discovery here:
   https://wiki.apache.org/solr/Core%20Discovery%20(4.4%20and%20beyond)
  
   And be very aware that you should _not_ remove any of the _field_
   entries in schema.xml. In particular _version_ and _root_ should be
   left alone. As well as the id field.
  
   And you'll have to re-index everything; Solr 4.x will not read Solr
   1.4 indexes. If that's impossible, you'll have to upgrade from 1.4 to
   3.x, optimize your index, then upgrade from 3.x to 4.x, add some
   documents, and optimize/force_merge again.
  
   HTH
   Erick
  
   On Mon, Sep 22, 2014 at 2:29 AM, Danesh Kuruppu dknkuru...@gmail.com
   wrote:
Hi all,
   
I currently working on upgrade sorl 1.4.1 to sorl latest stable
  release.
   
What is the latest stable release I can use?
Is there specfic things I need to look at when upgrade.
   
Need help
Thanks
   
Danesh
  
 



Re: Solr upgrade to latest version

2014-09-23 Thread Vivek Misra
Hi,

Currently I am using SOLR 1.4.1 and want to migrate to SOLR 4.9.

Is there any manual or link for 1.4 to 4.9? Which can guide step by step on

1. solrconfig.xml changes

2. schema.xml changes

3. changes required in version 1.4.1 queries.


Thanks

Vivek






On Tue, Sep 23, 2014 at 9:19 AM, Danesh Kuruppu dknkuru...@gmail.com
wrote:

 Thanks Alex and Erick for quick response,
 This is really helpful.

 On Tue, Sep 23, 2014 at 1:19 AM, Erick Erickson erickerick...@gmail.com
 wrote:

  Probably go for 4.9.1. There'll be a 4.10.1 out in the not-too-distant
  future that you can upgrade to if you wish. 4.9.1 - 4.10.1 should be
  quite painless.
 
  But do _not_ copy your schema.xml and solrconfig.xml files over form
  1.4 to 4.x. There are some fairly easy ways to shoot yourself in the
  foot there. Take the stock distribution configuration files and copy
  _parts_ of your schema.xml and solrconfig.xml you care about.
 
  If you're using multiple cores, read about core discovery here:
  https://wiki.apache.org/solr/Core%20Discovery%20(4.4%20and%20beyond)
 
  And be very aware that you should _not_ remove any of the _field_
  entries in schema.xml. In particular _version_ and _root_ should be
  left alone. As well as the id field.
 
  And you'll have to re-index everything; Solr 4.x will not read Solr
  1.4 indexes. If that's impossible, you'll have to upgrade from 1.4 to
  3.x, optimize your index, then upgrade from 3.x to 4.x, add some
  documents, and optimize/force_merge again.
 
  HTH
  Erick
 
  On Mon, Sep 22, 2014 at 2:29 AM, Danesh Kuruppu dknkuru...@gmail.com
  wrote:
   Hi all,
  
   I currently working on upgrade sorl 1.4.1 to sorl latest stable
 release.
  
   What is the latest stable release I can use?
   Is there specfic things I need to look at when upgrade.
  
   Need help
   Thanks
  
   Danesh
 



Solr upgrade to latest version

2014-09-22 Thread Danesh Kuruppu
Hi all,

I currently working on upgrade sorl 1.4.1 to sorl latest stable release.

What is the latest stable release I can use?
Is there specfic things I need to look at when upgrade.

Need help
Thanks

Danesh


Re: Solr upgrade to latest version

2014-09-22 Thread Alexandre Rafalovitch
4.10.1 out shortly is a good bet.

No idea about the upgrade specifically, but I would probably do some
reading of recent solrconfig.xml to get a hint of new features. Also,
schema.xml has a version number at the top. The default changed which
is controlled by that version number. So, it is something to keep in
mind.

Regards,
   Alex.
Personal: http://www.outerthoughts.com/ and @arafalov
Solr resources and newsletter: http://www.solr-start.com/ and @solrstart
Solr popularizers community: https://www.linkedin.com/groups?gid=6713853


On 22 September 2014 05:29, Danesh Kuruppu dknkuru...@gmail.com wrote:
 Hi all,

 I currently working on upgrade sorl 1.4.1 to sorl latest stable release.

 What is the latest stable release I can use?
 Is there specfic things I need to look at when upgrade.

 Need help
 Thanks

 Danesh


Re: Solr upgrade to latest version

2014-09-22 Thread Danesh Kuruppu
Thanks Alex and Erick for quick response,
This is really helpful.

On Tue, Sep 23, 2014 at 1:19 AM, Erick Erickson erickerick...@gmail.com
wrote:

 Probably go for 4.9.1. There'll be a 4.10.1 out in the not-too-distant
 future that you can upgrade to if you wish. 4.9.1 - 4.10.1 should be
 quite painless.

 But do _not_ copy your schema.xml and solrconfig.xml files over form
 1.4 to 4.x. There are some fairly easy ways to shoot yourself in the
 foot there. Take the stock distribution configuration files and copy
 _parts_ of your schema.xml and solrconfig.xml you care about.

 If you're using multiple cores, read about core discovery here:
 https://wiki.apache.org/solr/Core%20Discovery%20(4.4%20and%20beyond)

 And be very aware that you should _not_ remove any of the _field_
 entries in schema.xml. In particular _version_ and _root_ should be
 left alone. As well as the id field.

 And you'll have to re-index everything; Solr 4.x will not read Solr
 1.4 indexes. If that's impossible, you'll have to upgrade from 1.4 to
 3.x, optimize your index, then upgrade from 3.x to 4.x, add some
 documents, and optimize/force_merge again.

 HTH
 Erick

 On Mon, Sep 22, 2014 at 2:29 AM, Danesh Kuruppu dknkuru...@gmail.com
 wrote:
  Hi all,
 
  I currently working on upgrade sorl 1.4.1 to sorl latest stable release.
 
  What is the latest stable release I can use?
  Is there specfic things I need to look at when upgrade.
 
  Need help
  Thanks
 
  Danesh