blob: 2a7089ed20e2380c11b8244e3fd06a081a0d9aef (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// 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;
/**
* If a term has to be resegmented, and the result is more than one word, this
* is how the result should be handled in the query tree. For Western languages
* the default is creating a phrase, but for business reasons, some East Asian
* languages use an AND instead.
*
* @author <a href="mailto:steinar@yahoo-inc.com">Steinar Knutsen</a>
* @since 5.1.28
*/
public enum SegmentingRule {
LANGUAGE_DEFAULT, PHRASE, BOOLEAN_AND;
}
|