Package com.yahoo.prelude.query
Class SuffixItem
- All Implemented Interfaces:
BlockItem,HasIndexItem,IndexedItem,TaggableItem,Cloneable
A word that matches a suffix of words instead of a complete word.
- Author:
- Steinar Knutsen
-
Nested Class Summary
Nested classes/interfaces inherited from class com.yahoo.prelude.query.Item
Item.ItemCreator, Item.ItemType -
Field Summary
Fields inherited from class com.yahoo.prelude.query.Item
connectedBacklink, connectedItem, connectivity, DEFAULT_WEIGHT, documentFrequency, explicitSignificance, significance, uniqueID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the enumerated type of this item.getName()Returns the name of this itemReturns this word as it should be used in executing the query.Methods inherited from class com.yahoo.prelude.query.WordItem
appendHeadingString, disclose, encodeThis, equals, getEncodedWord, getIndexedString, getNumWords, getRawWord, getSegmentIndex, getWord, hashCode, isFromSegmented, isStemmed, isWords, setFromSegmented, setSegmentIndex, setStemmed, setValue, setWord, setWordsMethods inherited from class com.yahoo.prelude.query.TermItem
appendBodyString, encode, getOrigin, getSegmentingRule, getTermCount, isFromQuery, isLowercased, isNormalizable, setFromQuery, setLowercased, setNormalizable, setOrigin, setSegmentingRuleMethods inherited from class com.yahoo.prelude.query.SimpleIndexedItem
appendIndexString, getFieldName, getIndexName, setIndexNameMethods inherited from class com.yahoo.prelude.query.SimpleTaggableItem
getConnectedItem, getConnectivity, getDocumentFrequency, getSignificance, getUniqueID, hasExplicitSignificance, hasUniqueID, setConnectivity, setDocumentFrequency, setExplicitSignificance, setSignificance, setUniqueIDMethods inherited from class com.yahoo.prelude.query.Item
addAnnotation, clone, getAnnotation, getBytes, getCode, getCreator, getLabel, getLanguage, getParent, getWeight, hasAnnotation, hasConnectivityBackLink, hasPrefixMatchSemantics, isFilter, isFromSpecialToken, isProtected, isRanked, isRoot, putBytes, putString, setCreator, setFilter, setFromSpecialToken, setHasUniqueID, setLabel, setLanguage, setParent, setPositionData, setProtected, setRanked, setWeight, shouldParenthesize, toString, usePositionDataMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.yahoo.prelude.query.HasIndexItem
getIndexName
-
Constructor Details
-
SuffixItem
-
SuffixItem
-
-
Method Details
-
getItemType
Description copied from class:ItemReturn the enumerated type of this item.- Overrides:
getItemTypein classWordItem
-
getName
Description copied from class:ItemReturns the name of this item -
stringValue
Description copied from class:WordItemReturns this word as it should be used in executing the query. This is usually (but not always) a normalized and stemmed form- Specified by:
stringValuein interfaceBlockItem- Overrides:
stringValuein classWordItem
-