Name
global.KBSearchDeduplication
Description
If a search happened within 10 seconds of the previous search in that session and if either of the search term starts with other search term than the previous is marked Not Final . Sample usage To process all the search that happened yesterday, new global.KnowledgeSearchDeduplication().process(); For specific day, var gd = new GlideDate(); gd.setValue( 2020-03-27 ); var searchDedupe = new global.KBSearchDeduplication(); searchDedupe.process(gd); Few sessions of a specific day. var gd = new GlideDate(); gd.setValue( 2020-03-27 ); var searchDedupe = new global.KnowledgeSearchDeduplication(); searchDedupe.process(gd, session_id=123456ABCDE123456 );
Script
var KBSearchDeduplication = Class.create();
KBSearchDeduplication.prototype = Object.extendsObject(KBSearchDeduplicationSNC, {
type: 'KBSearchDeduplication'
});
Sys ID
881677a5c79710108ad4010703c2605d