You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by Bruno Mannina <bm...@free.fr> on 2022/02/27 18:32:19 UTC

[Solr 8.11.1] Update a document without changing timestamps ?

Hello,

 

Is it possible to update a document (all fields) without changing timestamp
date ?

 

I need to re-index a big number of doc but keep the same timestamp.

 

Thanks a lot,

 

Bruno

 

 



-- 
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus

Re: [Solr 8.11.1] Update a document without changing timestamps ?

Posted by Shawn Heisey <ap...@elyograg.org>.
On 2/27/22 11:32, Bruno Mannina wrote:
> Is it possible to update a document (all fields) without changing timestamp
> date ?

Maybe.  Solr has a capability called "Atomic Update" ... but in order 
for this to be usable, your index has to meet certain criteria.

https://solr.apache.org/guide/8_11/updating-parts-of-documents.html#field-storage

If your index meets that criteria, then you will most likely be able to 
do what you're after.

Thanks,
Shawn