Discussion:
Keeping query index until a complete reindex is done
Silvio Hermann
2013-03-20 11:59:46 UTC
Permalink
Hi there



is solr capable of keeping a query index until a complete reindex is done (within a single core)?

I think something of:

1. start reindex/rebuild through a REST push (not the data import handler)

2. solr starts indexing on a fresh index

queries are handled by the old index

3. with a SWAP or simmilar command the old index is dropped and all query/index stuff is handled

by the new index



Thanks in advance

Silvio on behalf of Matthias Eichner
Jan Høydahl
2013-03-20 12:07:18 UTC
Permalink
Hi,

Yes. Two alternatives

1) If you just want to reindex, no big schema changes etc
Just reindex everything on top of the old index.
Search will still be live all the time

2) Create a new core/collection
Reindex everything to that collection
Use the SWAP core admin command when finished
http://wiki.apache.org/solr/CoreAdmin
Unload/delete the old index

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
Solr Training - www.solrtraining.com
Post by Silvio Hermann
Hi there
is solr capable of keeping a query index until a complete reindex is done (within a single core)?
1. start reindex/rebuild through a REST push (not the data import handler)
2. solr starts indexing on a fresh index
queries are handled by the old index
3. with a SWAP or simmilar command the old index is dropped and all query/index stuff is handled
by the new index
Thanks in advance
Silvio on behalf of Matthias Eichner
Silvio Hermann
2013-03-21 14:10:27 UTC
Permalink
thanks for that hint.

so long,

Silvio
Post by Jan Høydahl
Hi,
Yes. Two alternatives
1) If you just want to reindex, no big schema changes etc
Just reindex everything on top of the old index.
Search will still be live all the time
2) Create a new core/collection
Reindex everything to that collection
Use the SWAP core admin command when finished
http://wiki.apache.org/solr/CoreAdmin
Unload/delete the old index
--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
Solr Training - www.solrtraining.com
Post by Silvio Hermann
Hi there
is solr capable of keeping a query index until a complete reindex is done (within a single core)?
1. start reindex/rebuild through a REST push (not the data import handler)
2. solr starts indexing on a fresh index
queries are handled by the old index
3. with a SWAP or simmilar command the old index is dropped and all query/index stuff is handled
by the new index
Thanks in advance
Silvio on behalf of Matthias Eichner
--
Silvio Hermann
Friedrich-Schiller-Universität Jena
Thüringer Universitäts- und Landesbibliothek
Bibliotheksplatz 2
07743 Jena
Phone: +49 3641 940019
FAX: +49 3641 940022

http://www.historische-bestaende.de
Loading...