Similar Documents Scripting Components

There are two built-in pipeline stages that enable pre-processing a similar documents request before executing it in the search engine The search engine your SmartHub instance uses to perform queries. SmartHub can be configured to use more than one search engine., as well as post-processing (or even generating) the similar documents results:

  • Similar Documents Query Processor
  • Similar Documents Results Processor

Similar Documents Query Processor 

    • Enables processing the similar documents request before sending it to the search engine back-end
    • Usage examples:
      • Block the similar documents request for some of the content by search callers
      • Remove one of the metadata values from the similar documents request if that value is on a specific black list
      • etc.

Similar Documents Results Processor

    • Enables post-processing of the similar results returned by the search engine
      • Can generate similar documents results
        or
      • Query external services
    • Usage examples:
      • Post-process similar documents results metadata
      • Filter results based on specific restrictions
      • Query external services or data sources and inject similar additional similar documents results
      • etc.