summaryrefslogtreecommitdiffstats
path: root/container-search
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2018-10-05 00:37:27 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2018-10-05 00:37:27 +0200
commitf5111abec02995d692bfd594eb9a8e4946d456e8 (patch)
tree02155d1ffd9cf60aa430b360be0bd3ed859e996f /container-search
parent1baa05619cba213b7a869a36f9febe9b11f3196b (diff)
Do not create huge optimaize structures when not necessary.
Diffstat (limited to 'container-search')
-rw-r--r--container-search/src/main/java/com/yahoo/search/query/parser/ParserEnvironment.java2
1 files changed, 1 insertions, 1 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 ca437fb9def..7bd1b01b3e5 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,7 +18,7 @@ import com.yahoo.search.searchchain.Execution;
public final class ParserEnvironment {
private IndexFacts indexFacts = new IndexFacts();
- private Linguistics linguistics = new SimpleLinguistics();
+ private Linguistics linguistics = new SimpleLinguistics(false);
private SpecialTokens specialTokens = new SpecialTokens();
public IndexFacts getIndexFacts() {