ManagedIndexSchema takes long for larger schema changes

2020-12-10 Thread Tiziano Degaetano
modification, and performs an inform on all fields. At the end inform is called ChagesToSchema * Fields times. I prepared a PR that changes the flow to only postReadInform once after the changes are done. improve speed of large schema changes for ManagedIndexSchema · tizianodeg/lucene-solr

Restore of Solr Collection with schema changes ?

2018-05-23 Thread Satyanarayana Kalahasthi
Hi Team, Is the back-up of Solr collection is possible if there are any schema changes (addition of new field or deletion of existing field in managed-schema.xml) during restore? I am not a registered user, but please do the needful. Thanks Kalahasthi Satyanarayana Mobile : 08884581161 The

Re: Schema Changes

2016-07-28 Thread Anshum Gupta
Hi Ethan, If the new fields are something that the old documents are also supposed to contain, you would need to reindex. e.g. in case you add a new copy field or a new field in general that your raw document contains, you would need to reindex. If the new field would only be something that exists

Schema Changes

2016-07-28 Thread Ethan
Hi, We change our schema to add new fields 3-4 times a year. Never modify existing fields. Some of my colleagues say it requires re-indexing. Does it? None of the existing field has changed. schema.xml is the only file that s modified. So what's the point in re-indexing? Appreciate any insigh

Would it be better to make my Schema changes within the renamed "/solr-5.3.0/server/solr/configsets/data_driven_schema_configs/conf/schema.xml" instead of the way that I am doing it now via curl -X PO

2016-03-19 Thread John Mitchell
ory". Currently I have not renamed this file to "schema.xml" and any adjustments to the Schema I have done via "curl -X POST -H 'Content-type:application/json' --data-binary '{ "add-field": ". My question would it be be

Re: Would it be better to make my Schema changes within the renamed "/solr-5.3.0/server/solr/configsets/data_driven_schema_configs/conf/schema.xml" instead of the way that I am doing it now via curl -

2016-03-19 Thread Shawn Heisey
On 3/18/2016 7:31 AM, John Mitchell wrote: > My question would it be better to make my Schema changes within the renamed > "/solr-5.3.0/server/solr/configsets/data_driven_schema_configs/conf/schema.xml" > instead of the way that I am doing it now via curl -X POST -H > &#x

Re: What exactly happens to extant documents when the schema changes?

2013-05-30 Thread Dotan Cohen
On Wed, May 29, 2013 at 5:09 PM, Shawn Heisey wrote: > I handle this in a very specific way with my sharded index. This won't > work for all designs, and the precise procedure won't work for SolrCloud. > > There is a 'live' and a 'build' core for each of my shards. When I want > to reindex, the

Re: What exactly happens to extant documents when the schema changes?

2013-05-29 Thread Shawn Heisey
On 5/29/2013 1:07 AM, Dotan Cohen wrote: > In the case of this particular application, reindexing really is > overly burdensome as the application is performing hundreds of writes > to the index per minute. How might I gauge how much spare I/O Solr > could commit to a reindex? All the data that I n

Re: What exactly happens to extant documents when the schema changes?

2013-05-29 Thread Dotan Cohen
On Tue, May 28, 2013 at 3:58 PM, Jack Krupansky wrote: > The technical answer: Undefined and not guaranteed. > I was afraid of that! > Sure, you can experiment and see what the effects "happen" to be in any > given release, and maybe they don't tend to change (too much) between most > releases,

Re: What exactly happens to extant documents when the schema changes?

2013-05-28 Thread Dotan Cohen
On Tue, May 28, 2013 at 2:20 PM, Upayavira wrote: > The schema provides Solr with a description of what it will find in the > Lucene indexes. If you, for example, changed a string field to an > integer in your schema, that'd mess things up bigtime. I recently had to > upgrade a date field from the

Re: What exactly happens to extant documents when the schema changes?

2013-05-28 Thread Jack Krupansky
Krupansky -Original Message- From: Dotan Cohen Sent: Tuesday, May 28, 2013 5:21 AM To: solr-user@lucene.apache.org Subject: What exactly happens to extant documents when the schema changes? When adding or removing a text field to/from the schema and then restarting Solr, what exa

Re: What exactly happens to extant documents when the schema changes?

2013-05-28 Thread Upayavira
On Tue, May 28, 2013, at 10:21 AM, Dotan Cohen wrote: > When adding or removing a text field to/from the schema and then > restarting Solr, what exactly happens to extant documents? Is the > schema only consulted when Solr writes a document, therefore extant > documents are unaffected? > > Consi

What exactly happens to extant documents when the schema changes?

2013-05-28 Thread Dotan Cohen
When adding or removing a text field to/from the schema and then restarting Solr, what exactly happens to extant documents? Is the schema only consulted when Solr writes a document, therefore extant documents are unaffected? Considering that Solr supports dynamic fields, my experimentation with re

Re: schema changes changes 3.3 to 3.4?

2011-10-11 Thread jo
example from a new version of Solr just because you > upgrade. > > > -Hoss > > > -- > If you reply to this email, your message will be added to the discussion > below: > > http://lucene.472066.n3.nabble.com/schema-changes-changes-3-3-to-3-4-tp3391019p34

Re: schema changes changes 3.3 to 3.4?

2011-10-10 Thread Chris Hostetter
: I figure it out.. thanks for pointing me in the right direction... so at the : end solr field type text was changed for text_general they key take away here seems to be that when you upgraded from Solr 3.3 to Solr 3.4 you stoped using your old schema (which you copied from the 3.3 example), a

Re: schema changes changes 3.3 to 3.4?

2011-10-05 Thread jo
past, but since I upgraded to 3.4.0 I have this problem > with the plurals not been displayed. > > > -- > If you reply to this email, your message will be added to the discussion > below: > > http://lucene.472066.n3.nabble.com/schema-changes-chang

Re: schema changes changes 3.3 to 3.4?

2011-10-05 Thread jo
his problem with the plurals not been displayed. -- View this message in context: http://lucene.472066.n3.nabble.com/schema-changes-changes-3-3-to-3-4-tp3391019p3396737.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: schema changes changes 3.3 to 3.4?

2011-10-04 Thread jo
/schema-changes-changes-3-3-to-3-4-tp3391019p3395265.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: schema changes changes 3.3 to 3.4?

2011-10-04 Thread Erick Erickson
o 3.4 and it work > just fine, I can't find what changes on the schema would case this, any > clues? > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/schema-changes-changes-3-3-to-3-4-tp3391019p3391019.html > Sent from the Solr - User mailing list archive at Nabble.com. >

schema changes changes 3.3 to 3.4?

2011-10-03 Thread jo
work just fine, I can't find what changes on the schema would case this, any clues? -- View this message in context: http://lucene.472066.n3.nabble.com/schema-changes-changes-3-3-to-3-4-tp3391019p3391019.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Server Restart Required for Schema Changes After Document Delete All?

2011-06-27 Thread Brandon Fish
23, 2011 at 3:14 PM, Brandon Fish >wrote: > > > Are there any schema changes that would cause problems with the following > > procedure from the > > FAQ< > > > http://wiki.apache.org/solr/FAQ#How_can_I_rebuild_my_index_from_scratch_if_I_change_my_schema.3F >

Re: Server Restart Required for Schema Changes After Document Delete All?

2011-06-27 Thread Tomás Fernández Löbbe
:14 PM, Brandon Fish wrote: > >> Are there any schema changes that would cause problems with the following >> procedure from the >> FAQ< >> http://wiki.apache.org/solr/FAQ#How_can_I_rebuild_my_index_from_scratch_if_I_change_my_schema.3F >> > >> ? >&g

Re: Server Restart Required for Schema Changes After Document Delete All?

2011-06-27 Thread Tomás Fernández Löbbe
This should work with dynamic fields too. Are you having any problems with it? On Thu, Jun 23, 2011 at 3:14 PM, Brandon Fish wrote: > Are there any schema changes that would cause problems with the following > procedure from the > FAQ< > http://wiki.apac

Server Restart Required for Schema Changes After Document Delete All?

2011-06-23 Thread Brandon Fish
Are there any schema changes that would cause problems with the following procedure from the FAQ<http://wiki.apache.org/solr/FAQ#How_can_I_rebuild_my_index_from_scratch_if_I_change_my_schema.3F> ? 1.Use the "match all docs" query in a delete by query command before sh

Re: Which schema changes are incompatible?

2010-02-10 Thread Chris Hostetter
: http://wiki.apache.org/solr/FAQ#How_can_I_rebuild_my_index_from_scratch_if_I_change_my_schema.3F : : but it is not clear about the times when this is needed. So I wonder, do I : need to do it after adding a field, removing a field, changing field type, : changing indexed/stored/multiValue prop

Which schema changes are incompatible?

2010-01-28 Thread Anders Melchiorsen
Hello. I read the FAQ entry about rebuilding the index, http://wiki.apache.org/solr/FAQ#How_can_I_rebuild_my_index_from_scratch_if_I_change_my_schema.3F but it is not clear about the times when this is needed. So I wonder, do I need to do it after adding a field, removing a field, changing fie