summaryrefslogtreecommitdiffstats
path: root/container-search
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@oath.com>2018-11-01 13:37:34 +0100
committergjoranv <gv@oath.com>2019-01-21 15:09:25 +0100
commit9ade75b7b8c79296370a85b65f6d0c8d7ff12a1b (patch)
treed8668568716c1df62121ed4eb20e271e5e0fe843 /container-search
parentede96ec154555dc3ef7afe6c21b9ea4494b77a07 (diff)
Follow API change
Diffstat (limited to 'container-search')
-rw-r--r--container-search/src/main/java/com/yahoo/search/query/parser/ParserEnvironment.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/container-search/src/main/java/com/yahoo/search/query/parser/ParserEnvironment.java b/container-search/src/main/java/com/yahoo/search/query/parser/ParserEnvironment.java
index 7aefa6f0cf2..ca437fb9def 100644
--- a/container-search/src/main/java/com/yahoo/search/query/parser/ParserEnvironment.java
+++ b/container-search/src/main/java/com/yahoo/search/query/parser/ParserEnvironment.java
@@ -18,9 +18,7 @@ import com.yahoo.search.searchchain.Execution;
public final class ParserEnvironment {
private IndexFacts indexFacts = new IndexFacts();
-
- @SuppressWarnings("deprecation")
- private Linguistics linguistics = new SimpleLinguistics(false);
+ private Linguistics linguistics = new SimpleLinguistics();
private SpecialTokens specialTokens = new SpecialTokens();
public IndexFacts getIndexFacts() {