diff options
author | Jon Bratseth <bratseth@gmail.com> | 2021-11-19 15:39:11 +0100 |
---|---|---|
committer | Jon Bratseth <bratseth@gmail.com> | 2021-11-19 15:39:11 +0100 |
commit | 02157d4f509d5723a20ab126e77b576d73697774 (patch) | |
tree | 3eabad0007804a59c532af3d9acb89edf71c442c | |
parent | 8bc93e2ba7dcb282a4493071cffc2584c9192f16 (diff) |
Add some missing feattures
-rw-r--r-- | integration/intellij/src/main/bnf/ai/vespa/intellij/schema/parser/sd.bnf | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/integration/intellij/src/main/bnf/ai/vespa/intellij/schema/parser/sd.bnf b/integration/intellij/src/main/bnf/ai/vespa/intellij/schema/parser/sd.bnf index f01ce41dd64..d51f061b540 100644 --- a/integration/intellij/src/main/bnf/ai/vespa/intellij/schema/parser/sd.bnf +++ b/integration/intellij/src/main/bnf/ai/vespa/intellij/schema/parser/sd.bnf @@ -182,7 +182,7 @@ ArgumentDefinition ::= IdentifierVal SummaryFeaturesDefinition ::= summary-features ((':' RankFeature+) | ((inherits IdentifierVal)? '{' RankFeature* '}')) -MatchFeaturesDefinition ::= match-features ((':' RankFeature+) | ('{' RankFeature* '}')) +MatchFeaturesDefinition ::= match-features ((':' RankFeature+) | ((inherits IdentifierVal)? '{' RankFeature* '}')) RankFeaturesDefinition ::= rank-features ((':' RankFeature+) | ('{' RankFeature* '}')) @@ -250,15 +250,15 @@ StructFieldBodyOptions ::= IndexingDefinition | AttributeDefinition | MatchDefin StructFieldDefinition | SummaryDefinition // Match MatchDefinition ::= match ((':' MatchProperty) | ('{' MatchProperty+ '}')) -MatchProperty ::= text | exact | (exact-terminator ':' STRING_REG) | word | prefix | cased | uncased | substring | +MatchProperty ::= text | token | exact | (exact-terminator ':' STRING_REG) | word | prefix | cased | uncased | substring | suffix | (max-length ':' INTEGER_REG) | gram | (gram-size ':' INTEGER_REG) | WordWrapper // Indexing IndexingDefinition ::= indexing ((':' IndexingStatement) | ('{' IndexingStatement+ '}')) -IndexingStatement ::= IndexingStatementOptions ((('|' | ';') IndexingStatementOptions)*) +IndexingStatement ::= IndexingStatementOptions (('|' IndexingStatementOptions)*) (';')? // Does not support zero-or-one occurrences IndexingStatementOptions ::= summary | attribute | index | set_language | lowercase | (input (IdentifierVal | IndexingStuff)+) | ('{' IndexingStatementOptions '}') | IndexingStuff+ -private IndexingStuff ::= WordWrapper | INTEGER_REG | FLOAT_REG | STRING_REG | ('{' IndexingStatementOptions+ '}') | +private IndexingStuff ::= WordWrapper | INTEGER_REG | FLOAT_REG | STRING_REG | ('{' IndexingStatement '}') | ':' | ('|' IndexingStatementOptions) | ';' | '.' | '(' | ')' | ARITHMETIC_OPERATOR | COMPARISON_OPERATOR // Attribute AttributeDefinition ::= attribute ((':' SimpleAttributeProperty) | ('{' (ComplexAttributeProperty | SimpleAttributeProperty)+ '}')) |