blob: d99ef57559734d13a2b3a7ac2c42727b6fa0d3ab (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.search.query.textserialize.item;
import com.yahoo.prelude.query.SubstringItem;
/**
* @author tonytv
*/
public class SubStringConverter extends WordConverter {
@Override
SubstringItem newTermItem(String word) {
return new SubstringItem(word);
}
}
|