The blackout was only for testing.
Had seen some code online where the empty-and-query was no longer being used, 
which seemed strange.

Thanks so much...
-Paul



________________________________
 From: Danny Sokolsky <[email protected]>
To: Paul M <[email protected]>; MarkLogic Developer Discussion 
<[email protected]> 
Sent: Thursday, April 4, 2013 1:25 PM
Subject: RE: [MarkLogic Dev General] deleted fragments admin
 

 
Hi Paul,
 
You cannot see the deleted fragments in a query.  A long time ago, you had to 
pass an empty-and-query to remove deleted fragments from the lexicon calls run 
as admin, but that has not been the case for several years, I don’t think.
 
The only way to see old fragments is to set a merge timestamp and to run a 
point-in-time query at a timestamp.
 
What you will see with deleted fragments is (potentially) a slight difference 
in scores for cts:search, as idf is calculated based on the total number of 
fragments in the database.  But on a large database, that should be a 
negligible difference.
 
Also, as a general point, merge blackouts are nearly always a bad idea.
 
-Danny
 
From:[email protected] 
[mailto:[email protected]] On Behalf Of Paul M
Sent: Thursday, April 04, 2013 5:39 AM
To: [email protected]
Subject: [MarkLogic Dev General] deleted fragments admin
 
I set merge blackout period to everyday.
The merge timestamp = 0
ML=6
ErrorLog states merging is disabled.

I load two documents, and delete one document.
Active fragments = 1
Deleted fragments = 7

I have the admin role.
I create range index on element.

Should I be able to see the values of index of the deleted fragments, somehow?
Should I be able to see the deleted fragments?
cts:element-values, etc?

To filter out from admin role, one normally uses cts:and-query(())?
I wanted to see this difference, if possible.
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to