dca_interface  6.3.4
dca::UrlDbClassifierOptions Struct Reference

#include <url_classification.h>

Detailed Description

Sets up options for embedded URL detection and provided Feedback mechanism.

This defines how the classifier treats/extracts URLs.

If embedded URLs should be detected set the enable_EmbeddedUrlDetection to true.

If embedded URLs should be detected also at path level set detect_EmbeddedUrlsInUrlPath to true.

If you want to enable the Feedback function, set enable_Feedback to true.

By activating Feedback, unknown URLs will be collected and uploaded to our servers, and integrated into the automatic URL classification process. The collected URLs will be uploaded during a call to UpdateModule::performUpdate.

See also
UrlClassification,

Definition at line 65 of file url_classification.h.

Public Attributes

bool enable_EmbeddedUrlDetection
 If set to true embedded URL detection will be used in URL classification. This is switched on by default. More...
 
bool detect_EmbeddedUrlsInUrlPath
 If set to true, you can specify that embedded URL detection is additionally performed in the path part of a given URL. This is switched on by default. More...
 
bool enable_WebLearn
 deprecated - has been replaced by enable_Feedback More...
 
bool enable_Feedback
 This switches the Feedback feature on or off. This is switched off by default. More...
 

Member Data Documentation

◆ enable_EmbeddedUrlDetection

bool dca::UrlDbClassifierOptions::enable_EmbeddedUrlDetection

If set to true embedded URL detection will be used in URL classification. This is switched on by default.

The query part of the given URL will be searched for embedded URLs, if this is switched on.

See also
UrlClassification::createDbClassifier

Definition at line 77 of file url_classification.h.

◆ detect_EmbeddedUrlsInUrlPath

bool dca::UrlDbClassifierOptions::detect_EmbeddedUrlsInUrlPath

If set to true, you can specify that embedded URL detection is additionally performed in the path part of a given URL. This is switched on by default.

Usually embedded URLs are part of the URL query and not of the URL or URL part itself.

See also
UrlClassification::createDbClassifier

Definition at line 84 of file url_classification.h.

◆ enable_WebLearn

bool dca::UrlDbClassifierOptions::enable_WebLearn

deprecated - has been replaced by enable_Feedback

Note
this structure element is still functional but will be ignored in upcoming versions of the DCA

Definition at line 89 of file url_classification.h.

◆ enable_Feedback

bool dca::UrlDbClassifierOptions::enable_Feedback

This switches the Feedback feature on or off. This is switched off by default.

Feedback submits unknown URLs to the Feedback host for automatic classification and later inclusion into one of the next database updates. In addition also statistics about matched categories and number of non-classified urls will be collected.

See also
UrlClassification::createDbClassifier

Definition at line 99 of file url_classification.h.


The documentation for this struct was generated from the following file: