Package com.yahoo.prelude.query
Class DotProductItem
- java.lang.Object
-
- com.yahoo.prelude.query.Item
-
- com.yahoo.prelude.query.SimpleTaggableItem
-
- com.yahoo.prelude.query.WeightedSetItem
-
- com.yahoo.prelude.query.DotProductItem
-
- All Implemented Interfaces:
TaggableItem
,java.lang.Cloneable
public class DotProductItem extends WeightedSetItem
A weighted set query item to be evaluated as a sparse dot product. The resulting dot product will be available as a raw score in the rank framework.- Author:
- havardpe
-
-
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, explicitSignificance, significance, uniqueID
-
-
Constructor Summary
Constructors Constructor Description DotProductItem(java.lang.String indexName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Item.ItemType
getItemType()
Return the enumerated type of this item.-
Methods inherited from class com.yahoo.prelude.query.WeightedSetItem
addToken, addToken, addToken, appendBodyString, clone, disclose, encode, encodeThis, getIndexName, getName, getNumTokens, getTermCount, getTokens, getTokenWeight, removeToken, setIndexName
-
Methods inherited from class com.yahoo.prelude.query.SimpleTaggableItem
getConnectedItem, getConnectivity, getSignificance, getUniqueID, hasExplicitSignificance, hasUniqueID, setConnectivity, setExplicitSignificance, setSignificance, setUniqueID
-
Methods inherited from class com.yahoo.prelude.query.Item
addAnnotation, appendHeadingString, equals, getAnnotation, getBytes, getCode, getCreator, getLabel, getLanguage, getParent, getWeight, hasAnnotation, hasConnectivityBackLink, hashCode, isFilter, isFromSpecialToken, isProtected, isRanked, isRoot, putBytes, putString, setCreator, setFilter, setFromSpecialToken, setHasUniqueID, setLabel, setLanguage, setParent, setPositionData, setProtected, setRanked, setWeight, shouldParenthize, toString, usePositionData
-
-
-
-
Method Detail
-
getItemType
public Item.ItemType getItemType()
Description copied from class:Item
Return the enumerated type of this item.- Overrides:
getItemType
in classWeightedSetItem
-
-