aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/prelude/query/SegmentingRule.java
blob: 89a0f0e93a65dab830cf72a242b7f937e7f91edd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright Yahoo. 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 Steinar Knutsen
 */
public enum SegmentingRule {

    LANGUAGE_DEFAULT, PHRASE, BOOLEAN_AND;

}