Package com.yahoo.prelude.query
Class MarkerWordItem
- All Implemented Interfaces:
BlockItem,HasIndexItem,IndexedItem,TaggableItem,Cloneable
Special words known by the index used for marking things.
The reserved word itself is not public, while a symbol representation is.
- Author:
- bratseth
-
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic MarkerWordItemCreates a special word item which marks the end of a host name matching the default indexstatic MarkerWordItemcreateEndOfHost(String indexName) Creates a special word item which marks the end of a host namestatic MarkerWordItemCreates a special word item which marks the start of a host name, matching the default indexstatic MarkerWordItemcreateStartOfHost(String indexName) Creates a special word item which marks the start of a host namevoidbooleanReturns whether this item is of the same class and contains the same state as the given item.protected StringReturns the marker word for encodinginthashCode()booleanbooleanMethods inherited from class com.yahoo.prelude.query.WordItem
appendHeadingString, encodeThis, getIndexedString, getItemType, getName, getNumWords, getRawWord, getSegmentIndex, getWord, isFromSegmented, isStemmed, isWords, setFromSegmented, setSegmentIndex, setStemmed, setValue, setWord, setWords, stringValueMethods 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
-
Method Details
-
isStartAnchor
public boolean isStartAnchor() -
isEndAnchor
public boolean isEndAnchor() -
getEncodedWord
Returns the marker word for encoding- Overrides:
getEncodedWordin classWordItem
-
equals
Description copied from class:ItemReturns whether this item is of the same class and contains the same state as the given item. -
hashCode
public int hashCode() -
disclose
-
createStartOfHost
Creates a special word item which marks the start of a host name -
createStartOfHost
Creates a special word item which marks the start of a host name, matching the default index -
createEndOfHost
Creates a special word item which marks the end of a host name -
createEndOfHost
Creates a special word item which marks the end of a host name matching the default index
-