summaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/prelude/query/SegmentingRule.java
blob: ecd0ca4e0561ca515e4d9b68a5ccca87d992bc26 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2016 Yahoo Inc. 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;
}