setSegmentItemCount()

After instantiating the DuplicateDetectAPI class, use this method to set the number of items to include in each message. If not explicitly set, the API uses a value of 500.

If the total number of items is greater than the SegmentItemCount value, the API splits the items into multiple messages to send to the Duplicate Detect engine. The exception to this is if the total number of items is less than 20% more than the SegmentItemCount. This is to avoid sending a really small message to the engine. For example, if the SegmentItemCount is 100 and 115 items are passed to the API, the API sends one message with all 115 items. If 125 items are passed to the API, the API sends two messages; the first 100 items in message one and the second 25 items in message two. If calling synchronously, the API waits for both response messages to be sent by the Duplicate Detect engine before returning to the caller (unless the wait time expires).