summaryrefslogtreecommitdiffstats
path: root/config-model/src/main/javacc
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2022-09-29 13:22:13 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2022-09-29 13:22:13 +0200
commit7302ce45688748474129c0f0a50778818c1784eb (patch)
treea6aa733b648d2c2c02004c339eb185568881f7f4 /config-model/src/main/javacc
parent606796ed3b3bce9953e419effa9365103ca4032d (diff)
Warn if enable-bit-vectors is used. It is default and has no effect any longer.
Diffstat (limited to 'config-model/src/main/javacc')
-rw-r--r--config-model/src/main/javacc/SchemaParser.jj6
1 files changed, 3 insertions, 3 deletions
diff --git a/config-model/src/main/javacc/SchemaParser.jj b/config-model/src/main/javacc/SchemaParser.jj
index 7ccaf956b43..a9c67a0bb60 100644
--- a/config-model/src/main/javacc/SchemaParser.jj
+++ b/config-model/src/main/javacc/SchemaParser.jj
@@ -1048,9 +1048,9 @@ void attributeSetting(ParsedAttribute attribute) :
<FASTRANK> { attribute.setFastRank(true); }
| <FASTSEARCH> { attribute.setFastSearch(true); }
| <FASTACCESS> { attribute.setFastAccess(true); }
- | <MUTABLE> { attribute.setMutable(true); }
- | <PAGED> { attribute.setPaged(true); }
- | <ENABLEBITVECTORS> { attribute.setEnableBitVectors(true); }
+ | <MUTABLE> { attribute.setMutable(true); }
+ | <PAGED> { attribute.setPaged(true); }
+ | <ENABLEBITVECTORS> { deployLogger.logApplicationPackage(Level.WARNING, "'enable-bit-vectors' is deprecated and void -> remove it. Will be removed in vespa-9"); }
| <ENABLEONLYBITVECTOR> { attribute.setEnableOnlyBitVector(true); }
| attributeSorting(attribute)
| <ALIAS> { String alias; String aliasedName=attribute.name(); } [aliasedName = identifier()] <COLON> alias = identifierWithDash() {