Skip to content
joelmartinez edited this page Feb 11, 2012 · 1 revision

The Analyzer class takes a new Entry, and two Indexes and determines whether the entry likely belongs in one index or the other. It gives you the result using an enum with the following values:

public enum CategorizationResult
{
    First = -1,
    Undetermined = 0,
    Second = 1
}

It does not automatically add the entry into one index or the other, that is left up to the caller.

An analyzer should only be used to categorize once ... after that, you should create a new instance if you wish to categorize another entry.

Clone this wiki locally