org.cdlib.xtf.textEngine
Class SpellcheckParams

Object
  extended by SpellcheckParams

public class SpellcheckParams
extends Object

Various parameters that affect spell-checking of query terms.


Field Summary
 float docScoreCutoff
          Document score cutoff.
 Set fields
          Fields to scan in the query for possibly misspelled terms.
 int totalDocsCutoff
          Total documents cutoff.
 
Constructor Summary
SpellcheckParams()
           
 
Method Summary
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fields

public Set fields
Fields to scan in the query for possibly misspelled terms. If null, all tokenized fields are considered.


docScoreCutoff

public float docScoreCutoff
Document score cutoff. If any document's non-normalized score is higher than this, no suggestions will be made.


totalDocsCutoff

public int totalDocsCutoff
Total documents cutoff. If the query results in more document hits than this, no suggestions will be made.

Constructor Detail

SpellcheckParams

public SpellcheckParams()