summaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/prelude/query/DotProductItem.java
blob: 455f81c8a90ea705386606e07c540c7ef11e8d12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2017 Yahoo Holdings. 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; }

}