diff options
author | Jon Bratseth <bratseth@gmail.com> | 2021-05-04 22:55:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-04 22:55:28 +0200 |
commit | 9bb76fccc1c128920650bd5a55f4ee4a2af554e7 (patch) | |
tree | c3f1c1f77083975756e2b146e0860c1b9d2656d8 /container-search/src/main/java/com/yahoo/search/query/parser | |
parent | 8430510510f28a2888a37bf6b07e3526486e072c (diff) |
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 94b9bf6ce65..df96d314455 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.prelude.query.parser.SpecialTokens; +import com.yahoo.language.process.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 = new SpecialTokens(); + private SpecialTokens specialTokens = SpecialTokens.empty(); public IndexFacts getIndexFacts() { return indexFacts; |