Skip to content

Commit

Permalink
update schema to include enum for query type and min match (mm)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdavis95 committed Apr 18, 2024
1 parent e89bf0d commit cfc5b50
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,13 +186,21 @@
"type": "string"
},
"queryType": {
"type": "string"
"enum": [
"FILTER",
"FILTER_NOT",
"SCORE_MUST",
"SCORE_SHOULD"
]
},
"qf": {
"type": "array",
"items": {
"type": "string"
}
},
"mm": {
"type": "number"
}
},
"required": [
Expand Down
2 changes: 1 addition & 1 deletion zulia-testing/src/test/resources/sample_testing.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=https://maven.zulia.io/schema/zulia_testing_schema-1.0.json
# yaml-language-server: $schema=https://maven.zulia.io/schema/zulia_testing_schema-1.1.json
logSearches: true
logSearchResults: true
connections:
Expand Down

0 comments on commit cfc5b50

Please sign in to comment.