Thank you very much for your reply. We have a Web application that opens up the 
ability for users to add and modify fields that correspond to fields in MySQL 
and Solr. What we expect is that when a user modifies a field, the previous 
index associated with that field takes effect immediately and the user can use 
the new index to retrieve the old data in the list. 

Anyway, let me try a few of the options shawn mentioned.If there are other 
solutions, I would appreciate it

Thanks.
 
From: Alessandro Benedetti
Date: 2021-11-30 02:32
To: users
Subject: Re: How to reindex in solr?
Hi, can you elaborate on why it doesn't fit you?
How is your schema changing dynamically?
If the changes always affect all documents in the index, there's <normally>
not much you can do rather than re-indexing.
There are some exceptions so you can take a look at atomic and in-place
updates, which are in very specific cases possible:
https://solr.apache.org/guide/8_11/updating-parts-of-documents.html
 
Cheers
--------------------------
Alessandro Benedetti
Apache Lucene/Solr Committer
Director, R&D Software Engineer, Search Consultant
 
www.sease.io
 
 
On Mon, 29 Nov 2021 at 16:40, Eric Pugh <[email protected]>
wrote:
 
> Shawn, would it make sense to migrate that content into
> https://solr.apache.org/guide/8_10/reindexing.html ?
>
>
>
> > On Nov 27, 2021, at 10:08 PM, Shawn Heisey <[email protected]>
> wrote:
> >
> > On 11/27/2021 7:39 PM, [email protected] wrote:
> >> Hi guys:
> >>     We use solr as a slave data source,and we need to change the shema
> dynamicly.The ref guide recommands deleting all document first,then re-run
> the orignal index process,but that does not fit us.Does anyone has other
> ideas?
> >
> > And this is exactly why I wrote this wiki page:
> >
> > https://cwiki.apache.org/confluence/display/SOLR/HowToReindex
> >
> > Thanks,
> > Shawn
>
> _______________________
> Eric Pugh | Founder & CEO | OpenSource Connections, LLC | 434.466.1467 |
> http://www.opensourceconnections.com <
> http://www.opensourceconnections.com/> | My Free/Busy <
> http://tinyurl.com/eric-cal>
> Co-Author: Apache Solr Enterprise Search Server, 3rd Ed <
> https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw>
>
> This e-mail and all contents, including attachments, is considered to be
> Company Confidential unless explicitly stated otherwise, regardless of
> whether attachments are marked as such.
>
>

Reply via email to