diff options
author | Jon Bratseth <bratseth@gmail.com> | 2021-05-05 11:46:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-05 11:46:21 +0200 |
commit | 6a378ba13339c2de59b82b9364354658b088b09c (patch) | |
tree | 7f40bdc1e0b82e4170bb4a0cd20333fe9322ac9b /container-search/src/main/java/com/yahoo/search/query/parser | |
parent | 3720186303f4aef1d185525eaf61092097a64ec9 (diff) |
Revert "Revert "Revert "Bratseth/special tokens"""
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/ParserEnvironment.java | 4 |
1 files changed, 2 insertions, 2 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 df96d314455..94b9bf6ce65 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 @@ -4,7 +4,7 @@ package com.yahoo.search.query.parser; import com.yahoo.language.Linguistics; import com.yahoo.language.simple.SimpleLinguistics; import com.yahoo.prelude.IndexFacts; -import com.yahoo.language.process.SpecialTokens; +import com.yahoo.prelude.query.parser.SpecialTokens; import com.yahoo.search.Searcher; import com.yahoo.search.searchchain.Execution; @@ -18,7 +18,7 @@ public final class ParserEnvironment { private IndexFacts indexFacts = new IndexFacts(); private Linguistics linguistics = new SimpleLinguistics(); - private SpecialTokens specialTokens = SpecialTokens.empty(); + private SpecialTokens specialTokens = new SpecialTokens(); public IndexFacts getIndexFacts() { return indexFacts; |