| java.lang.Object |
| ↳ |
com.atlassian.confluence.search.didyoumean.lucene.extractor.WordExtractor |
Class Overview
Extractor responsible for adding tokenized field used by the "Did You Mean" feature to rank suggestions. Ranking is
done by checking the frequency of a dictionary suggestion against the contents of this field. The more often it
occurs, the higher the frequency. Frequency checking cannot be done on "contentBody" field because the tokenization
on this field does not lowercase terms and breaks them down into word stems - stemmed tokens with their case intact
are un-useable for this feature.
Summary
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
com.atlassian.bonnie.search.Extractor
|
Constants
public
static
final
String
DID_YOU_MEAN_FIELD
Constant Value:
"didyoumean"
Public Constructors
Public Methods
public
void
addFields
(Document document, StringBuffer defaultSearchableText, Searchable searchable)