blob: fd494dba491748ea539ccfdb20702f0b5f4889ac (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.prelude.query;
/**
* 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
*/
public class DotProductItem extends WeightedSetItem {
public DotProductItem(String indexName) { super(indexName); }
@Override
public ItemType getItemType() { return ItemType.DOTPRODUCT; }
}
|