blob: 410a4283cf7e99a0e1f9caa0ad32b186dfe4fbdb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Copyright Yahoo. 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.PrefixItem;
/**
* @author Tony Vaagenes
*/
public class PrefixConverter extends WordConverter {
@Override
PrefixItem newTermItem(String word) {
return new PrefixItem(word);
}
}
|