summaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/search/query/parser
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@yahoo-inc.com>2017-01-25 13:23:43 +0100
committerJon Bratseth <bratseth@yahoo-inc.com>2017-01-25 13:23:43 +0100
commit3078f0cb6c69d94d23f342380f778f233ba369c1 (patch)
treeda5980d5e5fe8fbe0c20ca6c145ba2f446c2cb41 /container-search/src/main/java/com/yahoo/search/query/parser
parent3a59cd028b3a5352929e49b9cec13396a66e6fb2 (diff)
Propagate explicit language if set
Diffstat (limited to 'container-search/src/main/java/com/yahoo/search/query/parser')
-rw-r--r--container-search/src/main/java/com/yahoo/search/query/parser/Parsable.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/container-search/src/main/java/com/yahoo/search/query/parser/Parsable.java b/container-search/src/main/java/com/yahoo/search/query/parser/Parsable.java
index 80194bcccf4..ba758b27400 100644
--- a/container-search/src/main/java/com/yahoo/search/query/parser/Parsable.java
+++ b/container-search/src/main/java/com/yahoo/search/query/parser/Parsable.java
@@ -68,8 +68,7 @@ public final class Parsable {
}
/**
- * Returns the language to use when parsing,
- * if not decided by the item under parsing. This is never null or UNKNOWN
+ * Returns the language to use when parsing, or null to decide during parsing.
*/
public Language getLanguage() {
return language;