Serialized Form


Package com.sun.labs.minion

Class com.sun.labs.minion.CompositeResultsFilter extends java.lang.Object implements Serializable

Serialized Fields

filters

java.util.List<E> filters

nTested

int nTested

nPassed

int nPassed

Class com.sun.labs.minion.FieldFrequency extends java.lang.Object implements Serializable

Serialized Fields

val

java.lang.Object val

freq

int freq

Class com.sun.labs.minion.IndexableFile extends java.io.File implements Serializable

Serialized Fields

encoding

java.lang.String encoding
The encoding for the file


exactPath

java.lang.String exactPath
The exact path that we were passed, so we can handle things that aren't files, like zip archives.


markupType

IndexableFile.Type markupType
The markup type that is contained in this file. Setting this takes the guesswork out.

Class com.sun.labs.minion.Posting extends java.lang.Object implements Serializable

Serialized Fields

term

java.lang.String term
The term represented by this posting.


freq

int freq
The frequency of the term.

Class com.sun.labs.minion.QueryException extends SearchEngineException implements Serializable

Class com.sun.labs.minion.QueryStats extends java.lang.Object implements Serializable

Serialized Fields

dictLookups

int dictLookups
The number of main dictionary lookups done during the query.


dictCacheHits

int dictCacheHits
The number of main dictionary cache hits during the query.


dictCacheMisses

int dictCacheMisses
The number of main dictionary cache misses during the query.


termCacheHits

int termCacheHits
The number of term cache hits.


termCacheMisses

int termCacheMisses
The number of term cache misses.


postingsSize

long postingsSize
The total size (in bytes) of postings read during the query.


queryW

NanoWatch queryW
A stopwatch that accumulates the total query time.


dictLookupW

NanoWatch dictLookupW
A stopwatch that accumulates the time required for dictionary lookups during the query.


termCacheW

NanoWatch termCacheW
A stopwatch that accumulates the time spent getting entries for the term cache.


postReadW

NanoWatch postReadW
A stopwatch that accumulates the time required for reading postings during the query.


unionW

NanoWatch unionW
A stopwatch that accumulates the time required for unioning postings during the query. This will accumulate the time for single term queries.


intersectW

NanoWatch intersectW
A stopwatch that accumulates the time required for intersecting postings during the query.


piW

NanoWatch piW
A stopwatch that accumulates the time spent iterating through postings, no matter what the reason.


postSortW

NanoWatch postSortW
A stopwatch that accumulates the time spent sorting postings.


normW

NanoWatch normW
A stopwatch that accumulates the time spent normalizing document scores.

Class com.sun.labs.minion.SearchEngineException extends java.lang.Exception implements Serializable

Class com.sun.labs.minion.WeightedField extends java.lang.Object implements Serializable

Serialized Fields

fieldName

java.lang.String fieldName

weight

float weight

Package com.sun.labs.minion.classification

Class com.sun.labs.minion.classification.ContingencyFeature extends WeightedFeature implements Serializable

Serialized Fields

type

int type
The type of weight that we'll return.

See Also:
ContingencyFeature.MUTUAL_INFORMATION, ContingencyFeature.CHI_SQUARED

a

int a
The number of documents in the class that contain this feature.


b

int b
The number of documents not in the class that contain this feature.


c

int c
The number of documents in the class that don't contain this feature.


d

int d
The number of documents not in the class that don't contain this feature.


N

int N
The total number of documents.


weightCalculated

boolean weightCalculated
Whether we've already calculated the weight.


docIDs

java.util.Set<E> docIDs

Class com.sun.labs.minion.classification.WeightedFeature extends java.lang.Object implements Serializable

Serialized Fields

name

java.lang.String name
The name of the feature.


id

int id
The ID for the feature, used when doing postings.


freq

int freq
The frequency of the feature.


weight

float weight
The weight associated with the feature.


Package com.sun.labs.minion.document.tokenizer

Class com.sun.labs.minion.document.tokenizer.ParseException extends java.lang.Exception implements Serializable

Serialized Fields

specialConstructor

boolean specialConstructor
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).


currentToken

Token currentToken
This is the last token that has been consumed successfully. If this object has been created due to a parse error, the token followng this token will (therefore) be the first error token.


expectedTokenSequences

int[][] expectedTokenSequences
Each entry in this array is an array of integers. Each array of integers represents a sequence of tokens (by their ordinal values) that is expected at this point of the parse.


tokenImage

java.lang.String[] tokenImage
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred. This array is defined in the generated ...Constants interface.


eol

java.lang.String eol
The end of line string for this machine.

Class com.sun.labs.minion.document.tokenizer.TokenMgrError extends java.lang.Error implements Serializable

Serialized Fields

errorCode

int errorCode
Indicates the reason why the exception is thrown. It will have one of the above 4 values.


Package com.sun.labs.minion.indexer.entry

Class com.sun.labs.minion.indexer.entry.DuplicateKeyException extends java.lang.RuntimeException implements Serializable

Serialized Fields

dke

DocKeyEntry dke

Package com.sun.labs.minion.lexmorph

Class com.sun.labs.minion.lexmorph.ATNPhraseExtractor.AdjoradvwordCannotGetAWordOutOfException extends java.lang.RuntimeException implements Serializable

Serialized Fields

exV1

Value exV1

Class com.sun.labs.minion.lexmorph.ATNPhraseExtractor.ArgMustBeNounPhraseException extends java.lang.RuntimeException implements Serializable

Serialized Fields

exMaybenounphrase

ATNPhraseExtractor.NounPhrase exMaybenounphrase

Class com.sun.labs.minion.lexmorph.ATNPhraseExtractor.BadHeadTypeInComplexDeterminerException extends java.lang.RuntimeException implements Serializable

Serialized Fields

exDeterminer

Value exDeterminer

Class com.sun.labs.minion.lexmorph.ATNPhraseExtractor.DirectoryPathMustEndInColonException extends java.lang.RuntimeException implements Serializable

Serialized Fields

exDirectory

java.lang.String exDirectory

Class com.sun.labs.minion.lexmorph.ATNPhraseExtractor.IllegalCapcodeException extends java.lang.RuntimeException implements Serializable

Serialized Fields

exCapcode

Value exCapcode

Class com.sun.labs.minion.lexmorph.ATNPhraseExtractor.InterpBreakException extends java.lang.RuntimeException implements Serializable

Serialized Fields

exArgs

java.lang.Object exArgs

Class com.sun.labs.minion.lexmorph.ATNPhraseExtractor.StringIsTooShortForCapcodeException extends java.lang.RuntimeException implements Serializable

Serialized Fields

exWstring

java.lang.String exWstring

exCapcode

Value exCapcode

Class com.sun.labs.minion.lexmorph.ATNPhraseExtractor.SwitchVarOutOfRangeException extends java.lang.RuntimeException implements Serializable

Serialized Fields

exSelectedState

com.sun.labs.minion.lexmorph.State exSelectedState

Package com.sun.labs.minion.lexmorph.disambiguation

Class com.sun.labs.minion.lexmorph.disambiguation.Sense extends java.lang.Object implements Serializable

Serialized Fields

term

java.lang.String term
The term.


name

java.lang.String name
The name of this sense.


pvs

java.util.Map<K,V> pvs
A map from words to the log probability of this sense, given a particular vocabulary item.


ps

float ps
The log probability of this sense.

Class com.sun.labs.minion.lexmorph.disambiguation.Supervised extends java.lang.Object implements Serializable

Serialized Fields

term

java.lang.String term
The term we're disambiguating.


field

java.lang.String field

senses

java.util.List<E> senses
The senses making up this disambiguator.


vocab

java.util.Set<E> vocab
The total set of terms across all senses.


logger

java.util.logging.Logger logger

Package com.sun.labs.minion.retrieval

Class com.sun.labs.minion.retrieval.DocumentVectorImpl extends java.lang.Object implements Serializable

Serialized Fields

keyName

java.lang.String keyName
The name of the key, which will survive transport.


v

WeightedFeature[] v
An array to hold the features that make up our vector. This array must be ordered by feature name!


length

float length
The length of this document vector.


normalized

boolean normalized
Whether we've been normalized.


qs

QueryStats qs

field

java.lang.String field

fieldID

int fieldID

Class com.sun.labs.minion.retrieval.MultiDocumentVectorImpl extends DocumentVectorImpl implements Serializable

Serialized Fields

keys

java.util.List<E> keys

Package com.sun.labs.minion.retrieval.cache

Class com.sun.labs.minion.retrieval.cache.DocCache extends LRACache<java.lang.String,DocCacheElement> implements Serializable

Serialized Fields

engine

SearchEngine engine

wf

WeightingFunction wf

wc

WeightingComponents wc

m

java.util.Map<K,V> m

Package com.sun.labs.minion.retrieval.parser

Class com.sun.labs.minion.retrieval.parser.ParseException extends java.lang.Exception implements Serializable

Serialized Fields

specialConstructor

boolean specialConstructor
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).


currentToken

Token currentToken
This is the last token that has been consumed successfully. If this object has been created due to a parse error, the token followng this token will (therefore) be the first error token.


expectedTokenSequences

int[][] expectedTokenSequences
Each entry in this array is an array of integers. Each array of integers represents a sequence of tokens (by their ordinal values) that is expected at this point of the parse.


tokenImage

java.lang.String[] tokenImage
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred. This array is defined in the generated ...Constants interface.


eol

java.lang.String eol
The end of line string for this machine.

Class com.sun.labs.minion.retrieval.parser.TokenMgrError extends java.lang.Error implements Serializable

Serialized Fields

errorCode

int errorCode
Indicates the reason why the exception is thrown. It will have one of the above 4 values.


Package com.sun.labs.minion.util

Class com.sun.labs.minion.util.FileLockException extends java.lang.Exception implements Serializable

Class com.sun.labs.minion.util.LRACache extends java.util.LinkedHashMap<K,V> implements Serializable

Serialized Fields

lraSize

int lraSize
The number of items to be held in the cache. If the size is less than 0, no elements will ever be removed.


logger

java.util.logging.Logger logger

Class com.sun.labs.minion.util.NanoWatch extends StopWatch implements Serializable

Class com.sun.labs.minion.util.StopWatch extends java.lang.Object implements Serializable

Serialized Fields

time

long time
The amount of time accumulated on the timer.


lastTime

long lastTime
The amount of time for the last start/stop pair.


clicks

int clicks
The number of starts and stops since the last reset.


lastStart

long lastStart
The last start time.