Re: Upgrade Solr 8.0.0 issue

2019-03-29 Thread Zheng Lin Edwin Yeo
Yes, delete both the data folder and the core.properties file. When you
create the collection they will be created again.

If you have indexed data to the collection before, then you can backup to
keep the old index if you want. Otherwise, it is not necessary. You can use
back the same data directory.

Regards,
Edwin

On Fri, 29 Mar 2019 at 16:32, vishal patel 
wrote:

>
> If I delete the product_shard1_replica_n1 folder then what about data
> folder? because its in this folder . It also need to delete?. Do you need
> to backup of data folder or change the data directory?
>
> Sent from Outlook <http://aka.ms/weboutlook>
> --
> *From:* Zheng Lin Edwin Yeo 
> *Sent:* Friday, March 29, 2019 1:39 PM
> *To:* vishal patel
> *Subject:* Re: Upgrade Solr 8.0.0 issue
>
> Yes.
> Also delete the product_shard1_replica_n1 folder under server\solr, so
> that you can start everything from fresh from creating the collection.
>
> Regards,
> Edwin
>
>
> On Fri, 29 Mar 2019 at 15:43, vishal patel 
> wrote:
>
> But by mistake zoo_data version2 folder delete then upconfig and again
> create the collection?
>
> Sent from Outlook <http://aka.ms/weboutlook>
> --
> *From:* Zheng Lin Edwin Yeo 
> *Sent:* Friday, March 29, 2019 1:07 PM
> *To:* vishal patel
> *Cc:* solr-user@lucene.apache.org
> *Subject:* Re: Upgrade Solr 8.0.0 issue
>
> Yes, if you have changes to solrconfig.xml or schema.xml, just upconfig
> and reload the collection. Not necessary to restart Solr.
>
> It's not necessary to change the index directly, but you can change it in
> the core.properties if you want to store the index elsewhere (Eg: in
> another drive).
>
> Regards,
> Edwin
>
>
> On Fri, 29 Mar 2019 at 14:11, vishal patel 
> wrote:
>
> Ohk got your point.
>
> i will create the collection again but sometimes any changes in
> Solrconfig.xml or schema.xml then what to do??
> As per my opinion, again upconfig and start the solr and reload the
> collection. Is it true?
> By my mistake I removed zoo_data version2 folder from zoo keeper and then
> upconfig and start the solr.
> When i did upconfig and started the solr , Error came about coreNodeName .
> So I created collection again but my index data folder was overwrite. is
> it necessary to change index data directory ?
> My existing data directory :
> F:\SolrCloud-8-0-0\solr-8.0.0-shard-1\server\solr
> product_shard1_replica_n1
>--- data
>--- core.properties
>
> Note : I don't want to re-index after the change in Solrconfig.xml.
>
> Sent from Outlook <http://aka.ms/weboutlook>
> --
> *From:* Zheng Lin Edwin Yeo 
> *Sent:* Friday, March 29, 2019 11:00 AM
> *To:* vishal patel
> *Cc:* solr-user@lucene.apache.org
> *Subject:* Re: Upgrade Solr 8.0.0 issue
>
> Usually I will create the collection again since I will re-index after the
> upgrade. If I create the collection again, the new core.properties will be
> created.
>
> If you plan to use the same schema.xml, have to check if there are class
> that have become deprecated, as usually some old class will get deprecated
> in the new version.
>
> Regards,
> Edwin
>
> On Fri, 29 Mar 2019 at 12:48, vishal patel 
> wrote:
>
> i will re-index with clean after the solr 8.0.0 upgrade.Is it necessary to
> change the core.properties?
> In solr 6.0.0 i wrote only name,shard and collection in core.properties i
> didn't write coreNodeName and collection.configName. For starting solr,
> first i delete the zoo_data version-2 folder and upconfig command and then
> start the solr and successfully worked.
>
> In solr 6.0.0 i never mentioned coreNodeName  but when i did upconfig its
> automatic entry in zoo keeper and after the solr start it worked fine.
>
> why is not working in solr 8.0.0? Is necessary to create a collection
> again using admin GUI or changes in core.properties for solr 8.0.0?
>
> Note : I don't want to copy of data from solr 6.1.0 to solr 8.0.0 i will
> re-index after the upgrade.I want only same schema.xml of solr 6.0.0.
>
> Sent from Outlook <http://aka.ms/weboutlook>
> --
> *From:* Zheng Lin Edwin Yeo 
> *Sent:* Friday, March 29, 2019 8:47 AM
> *To:* solr-user@lucene.apache.org
> *Subject:* Re: Upgrade Solr 8.0.0 issue
>
> Hi Vishal,
>
> There could be problem with your index if you upgrade directly from Solr
> 6.1.0 to Solr 8.0.0, which is two major version, as Solr only supports
> upgrade for one major version.
>
> Regards,
> Edwin
>
> On Thu, 28 Mar 2019 at 21:30, vishal patel 
> wrote:
>
> > Hi
> >
> >

Re: Upgrade Solr 8.0.0 issue

2019-03-29 Thread Jan Høydahl
I recommend to do a CLEAN install of Solr 8. Wipe out all old stuff. Completely 
Empty :)
Then create your collection and uploading your config at the same time:

bin/solr create -c mycollection -replicationFactor 2 -d /path/to/conf/folder

Then re-index your content and you're good to go. Do not bother with 
core.properties, zoo_data or any old cruft

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com

> 29. mar. 2019 kl. 09:32 skrev vishal patel :
> 
> 
> If I delete the product_shard1_replica_n1 folder then what about data folder? 
> because its in this folder . It also need to delete?. Do you need to backup 
> of data folder or change the data directory?
> 
> Sent from Outlook<http://aka.ms/weboutlook>
> 
> From: Zheng Lin Edwin Yeo 
> Sent: Friday, March 29, 2019 1:39 PM
> To: vishal patel
> Subject: Re: Upgrade Solr 8.0.0 issue
> 
> Yes.
> Also delete the product_shard1_replica_n1 folder under server\solr, so that 
> you can start everything from fresh from creating the collection.
> 
> Regards,
> Edwin
> 
> 
> On Fri, 29 Mar 2019 at 15:43, vishal patel 
> mailto:vishalpatel200...@outlook.com>> wrote:
> But by mistake zoo_data version2 folder delete then upconfig and again create 
> the collection?
> 
> Sent from Outlook<http://aka.ms/weboutlook>
> 
> From: Zheng Lin Edwin Yeo mailto:edwinye...@gmail.com>>
> Sent: Friday, March 29, 2019 1:07 PM
> To: vishal patel
> Cc: solr-user@lucene.apache.org<mailto:solr-user@lucene.apache.org>
> Subject: Re: Upgrade Solr 8.0.0 issue
> 
> Yes, if you have changes to solrconfig.xml or schema.xml, just upconfig and 
> reload the collection. Not necessary to restart Solr.
> 
> It's not necessary to change the index directly, but you can change it in the 
> core.properties if you want to store the index elsewhere (Eg: in another 
> drive).
> 
> Regards,
> Edwin
> 
> 
> On Fri, 29 Mar 2019 at 14:11, vishal patel 
> mailto:vishalpatel200...@outlook.com>> wrote:
> Ohk got your point.
> 
> i will create the collection again but sometimes any changes in 
> Solrconfig.xml or schema.xml then what to do??
> As per my opinion, again upconfig and start the solr and reload the 
> collection. Is it true?
> By my mistake I removed zoo_data version2 folder from zoo keeper and then 
> upconfig and start the solr.
> When i did upconfig and started the solr , Error came about coreNodeName . So 
> I created collection again but my index data folder was overwrite. is it 
> necessary to change index data directory ?
> My existing data directory :
> F:\SolrCloud-8-0-0\solr-8.0.0-shard-1\server\solr
> product_shard1_replica_n1
>   --- data
>   --- core.properties
> 
> Note : I don't want to re-index after the change in Solrconfig.xml.
> 
> Sent from Outlook<http://aka.ms/weboutlook>
> 
> From: Zheng Lin Edwin Yeo mailto:edwinye...@gmail.com>>
> Sent: Friday, March 29, 2019 11:00 AM
> To: vishal patel
> Cc: solr-user@lucene.apache.org<mailto:solr-user@lucene.apache.org>
> Subject: Re: Upgrade Solr 8.0.0 issue
> 
> Usually I will create the collection again since I will re-index after the 
> upgrade. If I create the collection again, the new core.properties will be 
> created.
> 
> If you plan to use the same schema.xml, have to check if there are class that 
> have become deprecated, as usually some old class will get deprecated in the 
> new version.
> 
> Regards,
> Edwin
> 
> On Fri, 29 Mar 2019 at 12:48, vishal patel 
> mailto:vishalpatel200...@outlook.com>> wrote:
> i will re-index with clean after the solr 8.0.0 upgrade.Is it necessary to 
> change the core.properties?
> In solr 6.0.0 i wrote only name,shard and collection in core.properties i 
> didn't write coreNodeName and collection.configName. For starting solr, first 
> i delete the zoo_data version-2 folder and upconfig command and then start 
> the solr and successfully worked.
> 
> In solr 6.0.0 i never mentioned coreNodeName  but when i did upconfig its 
> automatic entry in zoo keeper and after the solr start it worked fine.
> 
> why is not working in solr 8.0.0? Is necessary to create a collection again 
> using admin GUI or changes in core.properties for solr 8.0.0?
> 
> Note : I don't want to copy of data from solr 6.1.0 to solr 8.0.0 i will 
> re-index after the upgrade.I want only same schema.xml of solr 6.0.0.
> 
> Sent from Outlook<http://aka.ms/weboutlook>
> 
> From: Zheng Lin Edwin Yeo mailto:edwinye...@gmail.com>>
> Sent: Friday, March 

Re: Upgrade Solr 8.0.0 issue

2019-03-29 Thread vishal patel

If I delete the product_shard1_replica_n1 folder then what about data folder? 
because its in this folder . It also need to delete?. Do you need to backup of 
data folder or change the data directory?

Sent from Outlook<http://aka.ms/weboutlook>

From: Zheng Lin Edwin Yeo 
Sent: Friday, March 29, 2019 1:39 PM
To: vishal patel
Subject: Re: Upgrade Solr 8.0.0 issue

Yes.
Also delete the product_shard1_replica_n1 folder under server\solr, so that you 
can start everything from fresh from creating the collection.

Regards,
Edwin


On Fri, 29 Mar 2019 at 15:43, vishal patel 
mailto:vishalpatel200...@outlook.com>> wrote:
But by mistake zoo_data version2 folder delete then upconfig and again create 
the collection?

Sent from Outlook<http://aka.ms/weboutlook>

From: Zheng Lin Edwin Yeo mailto:edwinye...@gmail.com>>
Sent: Friday, March 29, 2019 1:07 PM
To: vishal patel
Cc: solr-user@lucene.apache.org<mailto:solr-user@lucene.apache.org>
Subject: Re: Upgrade Solr 8.0.0 issue

Yes, if you have changes to solrconfig.xml or schema.xml, just upconfig and 
reload the collection. Not necessary to restart Solr.

It's not necessary to change the index directly, but you can change it in the 
core.properties if you want to store the index elsewhere (Eg: in another drive).

Regards,
Edwin


On Fri, 29 Mar 2019 at 14:11, vishal patel 
mailto:vishalpatel200...@outlook.com>> wrote:
Ohk got your point.

i will create the collection again but sometimes any changes in Solrconfig.xml 
or schema.xml then what to do??
As per my opinion, again upconfig and start the solr and reload the collection. 
Is it true?
By my mistake I removed zoo_data version2 folder from zoo keeper and then 
upconfig and start the solr.
When i did upconfig and started the solr , Error came about coreNodeName . So I 
created collection again but my index data folder was overwrite. is it 
necessary to change index data directory ?
My existing data directory :
F:\SolrCloud-8-0-0\solr-8.0.0-shard-1\server\solr
product_shard1_replica_n1
   --- data
   --- core.properties

Note : I don't want to re-index after the change in Solrconfig.xml.

Sent from Outlook<http://aka.ms/weboutlook>

From: Zheng Lin Edwin Yeo mailto:edwinye...@gmail.com>>
Sent: Friday, March 29, 2019 11:00 AM
To: vishal patel
Cc: solr-user@lucene.apache.org<mailto:solr-user@lucene.apache.org>
Subject: Re: Upgrade Solr 8.0.0 issue

Usually I will create the collection again since I will re-index after the 
upgrade. If I create the collection again, the new core.properties will be 
created.

If you plan to use the same schema.xml, have to check if there are class that 
have become deprecated, as usually some old class will get deprecated in the 
new version.

Regards,
Edwin

On Fri, 29 Mar 2019 at 12:48, vishal patel 
mailto:vishalpatel200...@outlook.com>> wrote:
i will re-index with clean after the solr 8.0.0 upgrade.Is it necessary to 
change the core.properties?
In solr 6.0.0 i wrote only name,shard and collection in core.properties i 
didn't write coreNodeName and collection.configName. For starting solr, first i 
delete the zoo_data version-2 folder and upconfig command and then start the 
solr and successfully worked.

In solr 6.0.0 i never mentioned coreNodeName  but when i did upconfig its 
automatic entry in zoo keeper and after the solr start it worked fine.

why is not working in solr 8.0.0? Is necessary to create a collection again 
using admin GUI or changes in core.properties for solr 8.0.0?

Note : I don't want to copy of data from solr 6.1.0 to solr 8.0.0 i will 
re-index after the upgrade.I want only same schema.xml of solr 6.0.0.

Sent from Outlook<http://aka.ms/weboutlook>

From: Zheng Lin Edwin Yeo mailto:edwinye...@gmail.com>>
Sent: Friday, March 29, 2019 8:47 AM
To: solr-user@lucene.apache.org<mailto:solr-user@lucene.apache.org>
Subject: Re: Upgrade Solr 8.0.0 issue

Hi Vishal,

There could be problem with your index if you upgrade directly from Solr
6.1.0 to Solr 8.0.0, which is two major version, as Solr only supports
upgrade for one major version.

Regards,
Edwin

On Thu, 28 Mar 2019 at 21:30, vishal patel 
mailto:vishalpatel200...@outlook.com>>
wrote:

> Hi
>
> I am upgrading solr 6.1.0 to 8.0.0. In solr 6.0.0 my folder structure below
> ---product
> ---conf
>  ---schema.xml
> ---solrconfig.xml
> ---core.properties
> ---solr.xml
>
> core.properties contains
> name=product
> shard=shard1
> collection=product
>
> upconfig command :
> zkcli.bat -cmd bootstrap -solrhome
> F:\SolrCloud-6.1.0\solr-6.1.0-shard-1\server\solr -z 
> 192.168.100.222:3181<http://192.168.100.222:3181>,
> 192.168.100.222:3182<http://192.168.100.222:3182>,192.168.100.222:3183<http

Re: Upgrade Solr 8.0.0 issue

2019-03-29 Thread vishal patel
But by mistake zoo_data version2 folder delete then upconfig and again create 
the collection?

Sent from Outlook<http://aka.ms/weboutlook>

From: Zheng Lin Edwin Yeo 
Sent: Friday, March 29, 2019 1:07 PM
To: vishal patel
Cc: solr-user@lucene.apache.org
Subject: Re: Upgrade Solr 8.0.0 issue

Yes, if you have changes to solrconfig.xml or schema.xml, just upconfig and 
reload the collection. Not necessary to restart Solr.

It's not necessary to change the index directly, but you can change it in the 
core.properties if you want to store the index elsewhere (Eg: in another drive).

Regards,
Edwin


On Fri, 29 Mar 2019 at 14:11, vishal patel 
mailto:vishalpatel200...@outlook.com>> wrote:
Ohk got your point.

i will create the collection again but sometimes any changes in Solrconfig.xml 
or schema.xml then what to do??
As per my opinion, again upconfig and start the solr and reload the collection. 
Is it true?
By my mistake I removed zoo_data version2 folder from zoo keeper and then 
upconfig and start the solr.
When i did upconfig and started the solr , Error came about coreNodeName . So I 
created collection again but my index data folder was overwrite. is it 
necessary to change index data directory ?
My existing data directory :
F:\SolrCloud-8-0-0\solr-8.0.0-shard-1\server\solr
product_shard1_replica_n1
   --- data
   --- core.properties

Note : I don't want to re-index after the change in Solrconfig.xml.

Sent from Outlook<http://aka.ms/weboutlook>

From: Zheng Lin Edwin Yeo mailto:edwinye...@gmail.com>>
Sent: Friday, March 29, 2019 11:00 AM
To: vishal patel
Cc: solr-user@lucene.apache.org<mailto:solr-user@lucene.apache.org>
Subject: Re: Upgrade Solr 8.0.0 issue

Usually I will create the collection again since I will re-index after the 
upgrade. If I create the collection again, the new core.properties will be 
created.

If you plan to use the same schema.xml, have to check if there are class that 
have become deprecated, as usually some old class will get deprecated in the 
new version.

Regards,
Edwin

On Fri, 29 Mar 2019 at 12:48, vishal patel 
mailto:vishalpatel200...@outlook.com>> wrote:
i will re-index with clean after the solr 8.0.0 upgrade.Is it necessary to 
change the core.properties?
In solr 6.0.0 i wrote only name,shard and collection in core.properties i 
didn't write coreNodeName and collection.configName. For starting solr, first i 
delete the zoo_data version-2 folder and upconfig command and then start the 
solr and successfully worked.

In solr 6.0.0 i never mentioned coreNodeName  but when i did upconfig its 
automatic entry in zoo keeper and after the solr start it worked fine.

why is not working in solr 8.0.0? Is necessary to create a collection again 
using admin GUI or changes in core.properties for solr 8.0.0?

Note : I don't want to copy of data from solr 6.1.0 to solr 8.0.0 i will 
re-index after the upgrade.I want only same schema.xml of solr 6.0.0.

Sent from Outlook<http://aka.ms/weboutlook>

From: Zheng Lin Edwin Yeo mailto:edwinye...@gmail.com>>
Sent: Friday, March 29, 2019 8:47 AM
To: solr-user@lucene.apache.org<mailto:solr-user@lucene.apache.org>
Subject: Re: Upgrade Solr 8.0.0 issue

Hi Vishal,

There could be problem with your index if you upgrade directly from Solr
6.1.0 to Solr 8.0.0, which is two major version, as Solr only supports
upgrade for one major version.

Regards,
Edwin

On Thu, 28 Mar 2019 at 21:30, vishal patel 
mailto:vishalpatel200...@outlook.com>>
wrote:

> Hi
>
> I am upgrading solr 6.1.0 to 8.0.0. In solr 6.0.0 my folder structure below
> ---product
> ---conf
>  ---schema.xml
> ---solrconfig.xml
> ---core.properties
> ---solr.xml
>
> core.properties contains
> name=product
> shard=shard1
> collection=product
>
> upconfig command :
> zkcli.bat -cmd bootstrap -solrhome
> F:\SolrCloud-6.1.0\solr-6.1.0-shard-1\server\solr -z 
> 192.168.100.222:3181<http://192.168.100.222:3181>,
> 192.168.100.222:3182<http://192.168.100.222:3182>,192.168.100.222:3183<http://192.168.100.222:3183>
>
> Note : In solr 6.1.0 , I did not create the product collection just copy
> from Solr 5.2.0 and changed solrconfig.xml.
>
> when I start the solr 6.1.0, product collection is automatic created and
> also I can access in GUI admin.
> But in Solr 8.0.0, collection is not created automatic and Error came. I
> used same core.properties.
> Why is it not working??
>
> Regards,
> Vishal
> Sent from Outlook<http://aka.ms/weboutlook>
>


Re: Upgrade Solr 8.0.0 issue

2019-03-29 Thread Zheng Lin Edwin Yeo
Yes, if you have changes to solrconfig.xml or schema.xml, just upconfig and
reload the collection. Not necessary to restart Solr.

It's not necessary to change the index directly, but you can change it in
the core.properties if you want to store the index elsewhere (Eg: in
another drive).

Regards,
Edwin


On Fri, 29 Mar 2019 at 14:11, vishal patel 
wrote:

> Ohk got your point.
>
> i will create the collection again but sometimes any changes in
> Solrconfig.xml or schema.xml then what to do??
> As per my opinion, again upconfig and start the solr and reload the
> collection. Is it true?
> By my mistake I removed zoo_data version2 folder from zoo keeper and then
> upconfig and start the solr.
> When i did upconfig and started the solr , Error came about coreNodeName .
> So I created collection again but my index data folder was overwrite. is
> it necessary to change index data directory ?
> My existing data directory :
> F:\SolrCloud-8-0-0\solr-8.0.0-shard-1\server\solr
> product_shard1_replica_n1
>--- data
>--- core.properties
>
> Note : I don't want to re-index after the change in Solrconfig.xml.
>
> Sent from Outlook <http://aka.ms/weboutlook>
> --
> *From:* Zheng Lin Edwin Yeo 
> *Sent:* Friday, March 29, 2019 11:00 AM
> *To:* vishal patel
> *Cc:* solr-user@lucene.apache.org
> *Subject:* Re: Upgrade Solr 8.0.0 issue
>
> Usually I will create the collection again since I will re-index after the
> upgrade. If I create the collection again, the new core.properties will be
> created.
>
> If you plan to use the same schema.xml, have to check if there are class
> that have become deprecated, as usually some old class will get deprecated
> in the new version.
>
> Regards,
> Edwin
>
> On Fri, 29 Mar 2019 at 12:48, vishal patel 
> wrote:
>
> i will re-index with clean after the solr 8.0.0 upgrade.Is it necessary to
> change the core.properties?
> In solr 6.0.0 i wrote only name,shard and collection in core.properties i
> didn't write coreNodeName and collection.configName. For starting solr,
> first i delete the zoo_data version-2 folder and upconfig command and then
> start the solr and successfully worked.
>
> In solr 6.0.0 i never mentioned coreNodeName  but when i did upconfig its
> automatic entry in zoo keeper and after the solr start it worked fine.
>
> why is not working in solr 8.0.0? Is necessary to create a collection
> again using admin GUI or changes in core.properties for solr 8.0.0?
>
> Note : I don't want to copy of data from solr 6.1.0 to solr 8.0.0 i will
> re-index after the upgrade.I want only same schema.xml of solr 6.0.0.
>
> Sent from Outlook <http://aka.ms/weboutlook>
> --
> *From:* Zheng Lin Edwin Yeo 
> *Sent:* Friday, March 29, 2019 8:47 AM
> *To:* solr-user@lucene.apache.org
> *Subject:* Re: Upgrade Solr 8.0.0 issue
>
> Hi Vishal,
>
> There could be problem with your index if you upgrade directly from Solr
> 6.1.0 to Solr 8.0.0, which is two major version, as Solr only supports
> upgrade for one major version.
>
> Regards,
> Edwin
>
> On Thu, 28 Mar 2019 at 21:30, vishal patel 
> wrote:
>
> > Hi
> >
> > I am upgrading solr 6.1.0 to 8.0.0. In solr 6.0.0 my folder structure
> below
> > ---product
> > ---conf
> >  ---schema.xml
> > ---solrconfig.xml
> > ---core.properties
> > ---solr.xml
> >
> > core.properties contains
> > name=product
> > shard=shard1
> > collection=product
> >
> > upconfig command :
> > zkcli.bat -cmd bootstrap -solrhome
> > F:\SolrCloud-6.1.0\solr-6.1.0-shard-1\server\solr -z
> 192.168.100.222:3181,
> > 192.168.100.222:3182,192.168.100.222:3183
> >
> > Note : In solr 6.1.0 , I did not create the product collection just copy
> > from Solr 5.2.0 and changed solrconfig.xml.
> >
> > when I start the solr 6.1.0, product collection is automatic created and
> > also I can access in GUI admin.
> > But in Solr 8.0.0, collection is not created automatic and Error came. I
> > used same core.properties.
> > Why is it not working??
> >
> > Regards,
> > Vishal
> > Sent from Outlook<http://aka.ms/weboutlook>
> >
>
>


Re: Upgrade Solr 8.0.0 issue

2019-03-28 Thread vishal patel
Ohk got your point.

i will create the collection again but sometimes any changes in Solrconfig.xml 
or schema.xml then what to do??
As per my opinion, again upconfig and start the solr and reload the collection. 
Is it true?
By my mistake I removed zoo_data version2 folder from zoo keeper and then 
upconfig and start the solr.
When i did upconfig and started the solr , Error came about coreNodeName . So I 
created collection again but my index data folder was overwrite. is it 
necessary to change index data directory ?
My existing data directory :
F:\SolrCloud-8-0-0\solr-8.0.0-shard-1\server\solr
product_shard1_replica_n1
   --- data
   --- core.properties

Note : I don't want to re-index after the change in Solrconfig.xml.

Sent from Outlook<http://aka.ms/weboutlook>

From: Zheng Lin Edwin Yeo 
Sent: Friday, March 29, 2019 11:00 AM
To: vishal patel
Cc: solr-user@lucene.apache.org
Subject: Re: Upgrade Solr 8.0.0 issue

Usually I will create the collection again since I will re-index after the 
upgrade. If I create the collection again, the new core.properties will be 
created.

If you plan to use the same schema.xml, have to check if there are class that 
have become deprecated, as usually some old class will get deprecated in the 
new version.

Regards,
Edwin

On Fri, 29 Mar 2019 at 12:48, vishal patel 
mailto:vishalpatel200...@outlook.com>> wrote:
i will re-index with clean after the solr 8.0.0 upgrade.Is it necessary to 
change the core.properties?
In solr 6.0.0 i wrote only name,shard and collection in core.properties i 
didn't write coreNodeName and collection.configName. For starting solr, first i 
delete the zoo_data version-2 folder and upconfig command and then start the 
solr and successfully worked.

In solr 6.0.0 i never mentioned coreNodeName  but when i did upconfig its 
automatic entry in zoo keeper and after the solr start it worked fine.

why is not working in solr 8.0.0? Is necessary to create a collection again 
using admin GUI or changes in core.properties for solr 8.0.0?

Note : I don't want to copy of data from solr 6.1.0 to solr 8.0.0 i will 
re-index after the upgrade.I want only same schema.xml of solr 6.0.0.

Sent from Outlook<http://aka.ms/weboutlook>

From: Zheng Lin Edwin Yeo mailto:edwinye...@gmail.com>>
Sent: Friday, March 29, 2019 8:47 AM
To: solr-user@lucene.apache.org<mailto:solr-user@lucene.apache.org>
Subject: Re: Upgrade Solr 8.0.0 issue

Hi Vishal,

There could be problem with your index if you upgrade directly from Solr
6.1.0 to Solr 8.0.0, which is two major version, as Solr only supports
upgrade for one major version.

Regards,
Edwin

On Thu, 28 Mar 2019 at 21:30, vishal patel 
mailto:vishalpatel200...@outlook.com>>
wrote:

> Hi
>
> I am upgrading solr 6.1.0 to 8.0.0. In solr 6.0.0 my folder structure below
> ---product
> ---conf
>  ---schema.xml
> ---solrconfig.xml
> ---core.properties
> ---solr.xml
>
> core.properties contains
> name=product
> shard=shard1
> collection=product
>
> upconfig command :
> zkcli.bat -cmd bootstrap -solrhome
> F:\SolrCloud-6.1.0\solr-6.1.0-shard-1\server\solr -z 
> 192.168.100.222:3181<http://192.168.100.222:3181>,
> 192.168.100.222:3182<http://192.168.100.222:3182>,192.168.100.222:3183<http://192.168.100.222:3183>
>
> Note : In solr 6.1.0 , I did not create the product collection just copy
> from Solr 5.2.0 and changed solrconfig.xml.
>
> when I start the solr 6.1.0, product collection is automatic created and
> also I can access in GUI admin.
> But in Solr 8.0.0, collection is not created automatic and Error came. I
> used same core.properties.
> Why is it not working??
>
> Regards,
> Vishal
> Sent from Outlook<http://aka.ms/weboutlook>
>


Re: Upgrade Solr 8.0.0 issue

2019-03-28 Thread Zheng Lin Edwin Yeo
Usually I will create the collection again since I will re-index after the
upgrade. If I create the collection again, the new core.properties will be
created.

If you plan to use the same schema.xml, have to check if there are class
that have become deprecated, as usually some old class will get deprecated
in the new version.

Regards,
Edwin

On Fri, 29 Mar 2019 at 12:48, vishal patel 
wrote:

> i will re-index with clean after the solr 8.0.0 upgrade.Is it necessary to
> change the core.properties?
> In solr 6.0.0 i wrote only name,shard and collection in core.properties i
> didn't write coreNodeName and collection.configName. For starting solr,
> first i delete the zoo_data version-2 folder and upconfig command and then
> start the solr and successfully worked.
>
> In solr 6.0.0 i never mentioned coreNodeName  but when i did upconfig its
> automatic entry in zoo keeper and after the solr start it worked fine.
>
> why is not working in solr 8.0.0? Is necessary to create a collection
> again using admin GUI or changes in core.properties for solr 8.0.0?
>
> Note : I don't want to copy of data from solr 6.1.0 to solr 8.0.0 i will
> re-index after the upgrade.I want only same schema.xml of solr 6.0.0.
>
> Sent from Outlook <http://aka.ms/weboutlook>
> --
> *From:* Zheng Lin Edwin Yeo 
> *Sent:* Friday, March 29, 2019 8:47 AM
> *To:* solr-user@lucene.apache.org
> *Subject:* Re: Upgrade Solr 8.0.0 issue
>
> Hi Vishal,
>
> There could be problem with your index if you upgrade directly from Solr
> 6.1.0 to Solr 8.0.0, which is two major version, as Solr only supports
> upgrade for one major version.
>
> Regards,
> Edwin
>
> On Thu, 28 Mar 2019 at 21:30, vishal patel 
> wrote:
>
> > Hi
> >
> > I am upgrading solr 6.1.0 to 8.0.0. In solr 6.0.0 my folder structure
> below
> > ---product
> > ---conf
> >  ---schema.xml
> > ---solrconfig.xml
> > ---core.properties
> > ---solr.xml
> >
> > core.properties contains
> > name=product
> > shard=shard1
> > collection=product
> >
> > upconfig command :
> > zkcli.bat -cmd bootstrap -solrhome
> > F:\SolrCloud-6.1.0\solr-6.1.0-shard-1\server\solr -z
> 192.168.100.222:3181,
> > 192.168.100.222:3182,192.168.100.222:3183
> >
> > Note : In solr 6.1.0 , I did not create the product collection just copy
> > from Solr 5.2.0 and changed solrconfig.xml.
> >
> > when I start the solr 6.1.0, product collection is automatic created and
> > also I can access in GUI admin.
> > But in Solr 8.0.0, collection is not created automatic and Error came. I
> > used same core.properties.
> > Why is it not working??
> >
> > Regards,
> > Vishal
> > Sent from Outlook<http://aka.ms/weboutlook>
> >
>


Re: Upgrade Solr 8.0.0 issue

2019-03-28 Thread vishal patel
i will re-index with clean after the solr 8.0.0 upgrade.Is it necessary to 
change the core.properties?
In solr 6.0.0 i wrote only name,shard and collection in core.properties i 
didn't write coreNodeName and collection.configName. For starting solr, first i 
delete the zoo_data version-2 folder and upconfig command and then start the 
solr and successfully worked.

In solr 6.0.0 i never mentioned coreNodeName  but when i did upconfig its 
automatic entry in zoo keeper and after the solr start it worked fine.

why is not working in solr 8.0.0? Is necessary to create a collection again 
using admin GUI or changes in core.properties for solr 8.0.0?

Note : I don't want to copy of data from solr 6.1.0 to solr 8.0.0 i will 
re-index after the upgrade.I want only same schema.xml of solr 6.0.0.

Sent from Outlook<http://aka.ms/weboutlook>

From: Zheng Lin Edwin Yeo 
Sent: Friday, March 29, 2019 8:47 AM
To: solr-user@lucene.apache.org
Subject: Re: Upgrade Solr 8.0.0 issue

Hi Vishal,

There could be problem with your index if you upgrade directly from Solr
6.1.0 to Solr 8.0.0, which is two major version, as Solr only supports
upgrade for one major version.

Regards,
Edwin

On Thu, 28 Mar 2019 at 21:30, vishal patel 
wrote:

> Hi
>
> I am upgrading solr 6.1.0 to 8.0.0. In solr 6.0.0 my folder structure below
> ---product
> ---conf
>  ---schema.xml
> ---solrconfig.xml
> ---core.properties
> ---solr.xml
>
> core.properties contains
> name=product
> shard=shard1
> collection=product
>
> upconfig command :
> zkcli.bat -cmd bootstrap -solrhome
> F:\SolrCloud-6.1.0\solr-6.1.0-shard-1\server\solr -z 192.168.100.222:3181,
> 192.168.100.222:3182,192.168.100.222:3183
>
> Note : In solr 6.1.0 , I did not create the product collection just copy
> from Solr 5.2.0 and changed solrconfig.xml.
>
> when I start the solr 6.1.0, product collection is automatic created and
> also I can access in GUI admin.
> But in Solr 8.0.0, collection is not created automatic and Error came. I
> used same core.properties.
> Why is it not working??
>
> Regards,
> Vishal
> Sent from Outlook<http://aka.ms/weboutlook>
>


Re: Upgrade Solr 8.0.0 issue

2019-03-28 Thread Zheng Lin Edwin Yeo
Hi Vishal,

There could be problem with your index if you upgrade directly from Solr
6.1.0 to Solr 8.0.0, which is two major version, as Solr only supports
upgrade for one major version.

Regards,
Edwin

On Thu, 28 Mar 2019 at 21:30, vishal patel 
wrote:

> Hi
>
> I am upgrading solr 6.1.0 to 8.0.0. In solr 6.0.0 my folder structure below
> ---product
> ---conf
>  ---schema.xml
> ---solrconfig.xml
> ---core.properties
> ---solr.xml
>
> core.properties contains
> name=product
> shard=shard1
> collection=product
>
> upconfig command :
> zkcli.bat -cmd bootstrap -solrhome
> F:\SolrCloud-6.1.0\solr-6.1.0-shard-1\server\solr -z 192.168.100.222:3181,
> 192.168.100.222:3182,192.168.100.222:3183
>
> Note : In solr 6.1.0 , I did not create the product collection just copy
> from Solr 5.2.0 and changed solrconfig.xml.
>
> when I start the solr 6.1.0, product collection is automatic created and
> also I can access in GUI admin.
> But in Solr 8.0.0, collection is not created automatic and Error came. I
> used same core.properties.
> Why is it not working??
>
> Regards,
> Vishal
> Sent from Outlook
>


Upgrade Solr 8.0.0 issue

2019-03-28 Thread vishal patel
Hi

I am upgrading solr 6.1.0 to 8.0.0. In solr 6.0.0 my folder structure below
---product
---conf
 ---schema.xml
---solrconfig.xml
---core.properties
---solr.xml

core.properties contains
name=product
shard=shard1
collection=product

upconfig command :
zkcli.bat -cmd bootstrap -solrhome 
F:\SolrCloud-6.1.0\solr-6.1.0-shard-1\server\solr -z 
192.168.100.222:3181,192.168.100.222:3182,192.168.100.222:3183

Note : In solr 6.1.0 , I did not create the product collection just copy from 
Solr 5.2.0 and changed solrconfig.xml.

when I start the solr 6.1.0, product collection is automatic created and also I 
can access in GUI admin.
But in Solr 8.0.0, collection is not created automatic and Error came. I used 
same core.properties.
Why is it not working??

Regards,
Vishal
Sent from Outlook