From: <bra...@us...> - 2007-12-12 03:34:08
|
Revision: 2114 http://archive-access.svn.sourceforge.net/archive-access/?rev=2114&view=rev Author: bradtofel Date: 2007-12-11 19:34:13 -0800 (Tue, 11 Dec 2007) Log Message: ----------- FEATURE: added constants for flagging duplicate records extracted from a ResourceIndex, where one or more of a series of records may not have been saved. These flags indicate to the UI that data for a SearchResult has been annotated from another duplicate version of the same document. Modified Paths: -------------- trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/WaybackConstants.java Modified: trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/WaybackConstants.java =================================================================== --- trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/WaybackConstants.java 2007-12-12 03:08:58 UTC (rev 2113) +++ trunk/archive-access/projects/wayback/wayback-core/src/main/java/org/archive/wayback/WaybackConstants.java 2007-12-12 03:34:13 UTC (rev 2114) @@ -318,7 +318,29 @@ */ public static final String RESULT_CLOSEST_INDICATOR = "closest"; public static final String RESULT_CLOSEST_VALUE = "true"; + + /** + * Result: this key being present indicates that this particular capture + * was not actually stored, and that other values within this SearchResult + * are actually values from a different record which *should* be identical + * to this capture, had it been stored. + */ + public static final String RESULT_DUPLICATE_ANNOTATION = "duplicate"; + + /** + * flag indicates that this document was downloaded and verified as + * identical to a previous capture by digest. + */ + public static final String RESULT_DUPLICATE_DIGEST = "digest"; + + /** + * flag indicates that this document was NOT downloaded, but that the + * origin server indicated that the document had not changed, based on + * If-Modified HTTP request headers. + */ + public static final String RESULT_DUPLICATE_HTTP = "http"; + /** * Name of configuration in web.xml for maximum number of results to return * in index searches. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |