websphinx
Class StandardClassifier

java.lang.Object
  |
  +--websphinx.StandardClassifier
All Implemented Interfaces:
Classifier, java.io.Serializable

public class StandardClassifier
extends java.lang.Object
implements Classifier

Standard classifier, installed in every crawler by default.

On the entire page, this classifier sets the following labels:

Also sets one or more of the following labels on every link:


Field Summary
static float priority
          Priority of this classifier.
 
Constructor Summary
StandardClassifier()
          Make a StandardClassifier.
 
Method Summary
 void classify(Page page)
          Classify a page.
 float getPriority()
          Get priority of this classifier.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

priority

public static final float priority
Priority of this classifier.

Constructor Detail

StandardClassifier

public StandardClassifier()
Make a StandardClassifier.

Method Detail

classify

public void classify(Page page)
Classify a page.

Specified by:
classify in interface Classifier
Parameters:
page - Page to classify

getPriority

public float getPriority()
Get priority of this classifier.

Specified by:
getPriority in interface Classifier
Returns:
priority.