Generally speaking, if a full re-index is happening everyday, wouldn't be
better to use a technique such as collection alias ?

You could point your search clients to the "Alias" which points to the
online collection "collection1".
When you re-index you build "collection2", when it is finished you point
"Alias" to "collection2" .
The following day you do the same thing but you use "collection1" to index.

Client 2 for the atomic Updates will point to "Alias" .

I am assuming here that during the re-indexing the price we get in the fresh
index are the most up to date.
So as soon as re-index finishes the collection is perfectly up to date.

In the case you want to update the prices during re-indexing, the price
updater should point to the temporary collection.
Also in this case I assume that if a document was not indexed yet, the price
update will fail, but the document will get the correct price when it is
indexed.
Please correct any wrong assumption,

Cheers





-----
---------------
Alessandro Benedetti
Search Consultant, R&D Software Engineer, Director
Sease Ltd. - www.sease.io
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Reply via email to