indexing - To get details or to retrieve deleted notes documents -


what doing :

from java code retrieving notes database , indexing documents of database using full text indexing using solrj client , saving indexed data of particular documents on full text server.

suppose when same database comes again indexing, considered 1 of documents database deleted indexed on full text server,

but document deleted notes database don't want keep (means want delete) indexed data on full text server of deleted document.

so how know document deleted

what thinking is , store document's id , db name while indexing, have record of indexed documents, can identify documents deleted particular database.

any other efficient way?

thank reading question.

the document universal id of document unique identifier @ least complete database.

you can document.getuniversalid() in java

by design every unique id unique worldwide, designer can go around (unids writable) , replicas of course have documents same unique id.

combine unid filepath of database, unique.

now remember unids indexed , after next run check, if there some, couldn't find anymore (e.g. remove every "found" unid - path key existing indices- list , whatever in there in end not exist anymore).

background
every document deleted in nsf- database becomes called deletion stub (at least) 90 days before purged finally. interval configurable each database, can less 90 days, if admin decided so...

these deletion stubs still contain unid information. perfect purpose (as purpose internal processes called replication).

unfortunately there no easy way these deletion stubs database java.
there are ways them external tools or c-api lotusscript, none of them easy use java.


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -