You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "Rathor, Piyush (US - Philadelphia)" <pr...@DELOITTE.com> on 2018/09/18 05:30:28 UTC
Modify Schema for Solr Cloud
Hi All,
I am new to solr cloud.
Can you please let me know on how to update the schema on solr cloud.
Thanks & Regards
Piyush Rathor
Consultant
Deloitte Digital (Salesforce.com / Force.com)
Deloitte Consulting Pvt. Ltd.
Office: +1 (615) 209 4980
Mobile : +1 (302) 397 1491
prathor@deloitte.com<ma...@deloitte.com> | www.deloitte.com<http://www.deloitte.com/>
[cid:image001.png@01D012F3.6C4D42E0]
Please consider the environment before printing.
This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and any disclosure, copying, or distribution of this message, or the taking of any action based on it, by you is strictly prohibited.
v.E.1
RE: Modify Schema for Solr Cloud
Posted by "Rathor, Piyush (US - Philadelphia)" <pr...@DELOITTE.com>.
Thanks Jan.
I used Schema API to do it.
Thanks & Regards
Piyush Rathor
Consultant
Deloitte Digital (Salesforce.com / Force.com)
Deloitte Consulting Pvt. Ltd.
Office: +1 (615) 209 4980
Mobile : +1 (302) 397 1491
prathor@deloitte.com | www.deloitte.com
Please consider the environment before printing.
-----Original Message-----
From: Jan Høydahl <ja...@cominvent.com>
Sent: Tuesday, September 18, 2018 3:22 PM
To: solr-user@lucene.apache.org
Subject: [EXT] Re: Modify Schema for Solr Cloud
Three ways:
1. Use Admin UI Schema tab and add/delete fields/copyfields there. Not support for fieldTypes 2. Use Schema API, see ref.guide 3. bin/solr zk cp zk:/configs/myconfig/managed-schema .
go ahead edit schema
bin/solr zk cp managed-schema zk:/configs/myconfig/managed-schema
reload collection in UI
--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
> 18. sep. 2018 kl. 07:30 skrev Rathor, Piyush (US - Philadelphia) <pr...@DELOITTE.com>:
>
> Hi All,
>
> I am new to solr cloud.
>
> Can you please let me know on how to update the schema on solr cloud.
>
> Thanks & Regards
> Piyush Rathor
> Consultant
> Deloitte Digital (Salesforce.com <http://salesforce.com/> / Force.com
> <http://force.com/>) Deloitte Consulting Pvt. Ltd.
> Office: +1 (615) 209 4980
> Mobile : +1 (302) 397 1491
> prathor@deloitte.com <ma...@deloitte.com> | www.deloitte.com
> <http://www.deloitte.com/>
>
> Please consider the environment before printing.
>
> This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and any disclosure, copying, or distribution of this message, or the taking of any action based on it, by you is strictly prohibited.
>
> v.E.1
>
Re: Modify Schema for Solr Cloud
Posted by Jan Høydahl <ja...@cominvent.com>.
Three ways:
1. Use Admin UI Schema tab and add/delete fields/copyfields there. Not support for fieldTypes
2. Use Schema API, see ref.guide
3. bin/solr zk cp zk:/configs/myconfig/managed-schema .
go ahead edit schema
bin/solr zk cp managed-schema zk:/configs/myconfig/managed-schema
reload collection in UI
--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
> 18. sep. 2018 kl. 07:30 skrev Rathor, Piyush (US - Philadelphia) <pr...@DELOITTE.com>:
>
> Hi All,
>
> I am new to solr cloud.
>
> Can you please let me know on how to update the schema on solr cloud.
>
> Thanks & Regards
> Piyush Rathor
> Consultant
> Deloitte Digital (Salesforce.com <http://salesforce.com/> / Force.com <http://force.com/>)
> Deloitte Consulting Pvt. Ltd.
> Office: +1 (615) 209 4980
> Mobile : +1 (302) 397 1491
> prathor@deloitte.com <ma...@deloitte.com> | www.deloitte.com <http://www.deloitte.com/>
>
> Please consider the environment before printing.
>
> This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and any disclosure, copying, or distribution of this message, or the taking of any action based on it, by you is strictly prohibited.
>
> v.E.1
>
RE: Modify Schema for Solr Cloud
Posted by "Rathor, Piyush (US - Philadelphia)" <pr...@DELOITTE.com>.
Thanks Yasufumi.
I will check this option. I used schema API to make the changes.
Thanks & Regards
Piyush Rathor
Consultant
Deloitte Digital (Salesforce.com / Force.com)
Deloitte Consulting Pvt. Ltd.
Office: +1 (615) 209 4980
Mobile : +1 (302) 397 1491
prathor@deloitte.com | www.deloitte.com
Please consider the environment before printing.
-----Original Message-----
From: Yasufumi Mizoguchi <ya...@gmail.com>
Sent: Tuesday, September 18, 2018 4:05 AM
To: solr-user@lucene.apache.org
Subject: [EXT] Re: Modify Schema for Solr Cloud
Hi,
One way is re-upload config files via zkcli.sh and reload the collection.
See following.
https://lucene.apache.org/solr/guide/7_4/command-line-utilities.html
Thanks,
Yasufumi.
2018年9月18日(火) 14:30 Rathor, Piyush (US - Philadelphia) <prathor@deloitte.com
>:
> Hi All,
>
>
>
> I am new to solr cloud.
>
>
>
> Can you please let me know on how to update the schema on solr cloud.
>
>
>
> *Thanks & Regards*
>
> *Piyush Rathor*
>
> Consultant
>
> Deloitte Digital (Salesforce.com / Force.com)
>
> Deloitte Consulting Pvt. Ltd.
>
> *Office*: +1 (615) 209 4980
>
> *Mobile *: +1 (302) 397 1491
>
> prathor@deloitte.com | www.deloitte.com
>
> [image: cid:image001.png@01D012F3.6C4D42E0]
>
> Please consider the environment before printing.
>
>
>
> This message (including any attachments) contains confidential
> information intended for a specific individual and purpose, and is
> protected by law. If you are not the intended recipient, you should
> delete this message and any disclosure, copying, or distribution of
> this message, or the taking of any action based on it, by you is strictly prohibited.
>
> v.E.1
>
Re: Modify Schema for Solr Cloud
Posted by Yasufumi Mizoguchi <ya...@gmail.com>.
Hi,
One way is re-upload config files via zkcli.sh and reload the collection.
See following.
https://lucene.apache.org/solr/guide/7_4/command-line-utilities.html
Thanks,
Yasufumi.
2018年9月18日(火) 14:30 Rathor, Piyush (US - Philadelphia) <prathor@deloitte.com
>:
> Hi All,
>
>
>
> I am new to solr cloud.
>
>
>
> Can you please let me know on how to update the schema on solr cloud.
>
>
>
> *Thanks & Regards*
>
> *Piyush Rathor*
>
> Consultant
>
> Deloitte Digital (Salesforce.com / Force.com)
>
> Deloitte Consulting Pvt. Ltd.
>
> *Office*: +1 (615) 209 4980
>
> *Mobile *: +1 (302) 397 1491
>
> prathor@deloitte.com | www.deloitte.com
>
> [image: cid:image001.png@01D012F3.6C4D42E0]
>
> Please consider the environment before printing.
>
>
>
> This message (including any attachments) contains confidential information
> intended for a specific individual and purpose, and is protected by law. If
> you are not the intended recipient, you should delete this message and any
> disclosure, copying, or distribution of this message, or the taking of any
> action based on it, by you is strictly prohibited.
>
> v.E.1
>