blob: 35e9680100cd6e5795dfaeb81c05a40529a58064 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright Vespa.ai. 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;
}
|