-
Notifications
You must be signed in to change notification settings - Fork 609
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32808 from vespa-engine/interns/magnus/subqueries
feat: add subqueries feature to builtin features in schema LS
- Loading branch information
Showing
4 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
integration/schema-language-server/language-server/src/test/sdfiles/single/subqueries.sd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
schema subqueries { | ||
document subqueries { | ||
field predicate_field type predicate { | ||
indexing: attribute | ||
index { | ||
arity: 2 | ||
lower-bound: 3 | ||
upper-bound: 200 | ||
dense-posting-list-threshold: 0.25 | ||
} | ||
} | ||
} | ||
rank-profile default { | ||
summary-features: subqueries(predicate_field).lsb subqueries(predicate_field).msb | ||
} | ||
} |