lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [lucenenet] jeme edited a comment on issue #401: Lucene Replication - Geting revision from replicator (local) and handler (remote)
Date Wed, 13 Jan 2021 16:54:12 GMT

jeme edited a comment on issue #401:
URL: https://github.com/apache/lucenenet/issues/401#issuecomment-759578447


   You can get that from the Revision you publish. So create that outside the call to publish
and assign it to a variable, then you can read it's Version property. In case you publish
an older revision the replicator will throw an error, if you wish to know if a publish is
ACTUALLY a new revision, you can compare it to another revision just like happens inside the
replicator.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message