IsDuplicate method: SearchResult class

Syntax

IsDuplicate()

Description

Use this method to return a Boolean value indicating whether this search result is a duplicate. Exact duplicates and near duplicates are both marked as duplicates by the PeopleSoft Search Framework.

An exact duplicate is a document that satisfies all of the following conditions exactly:

  • Same signature

  • Same content length

  • Same title

A near duplicate (a similar document) is a document that satisfies any of the following conditions:

  • Same signature and documents are not empty.

  • Same (non-null) title and same 4K checksum.

  • Same (non-null) title and URLs differ by not more than one element (an element is a folder name and doesn't include the HTML/JSP page name of the HTTP GET parameters).

Parameters

None.

Returns

A Boolean value: True if this search result is a duplicate, False otherwise.