Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update grpc-gateway #703

Merged
merged 1 commit into from
Aug 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update grpc-gateway
sarthakn7 committed Aug 28, 2024
commit c6eb8d50be163dd43c11a47110f17e87200c89f5
52 changes: 52 additions & 0 deletions grpc-gateway/luceneserver.swagger.json
Original file line number Diff line number Diff line change
@@ -2228,6 +2228,9 @@
"lastScore": {
"type": "number",
"format": "float"
},
"lastHitInfo": {
"$ref": "#/definitions/luceneserverLastHitInfo"
}
}
},
@@ -3535,6 +3538,9 @@
"type": "integer",
"format": "int32",
"description": "Specifies the size to use for the TOP_TERMS* rewrite methods."
},
"auto": {
"$ref": "#/definitions/FuzzyParamsAutoFuzziness"
}
},
"description": "A query that matches documents containing terms similar to the specified term."
@@ -3952,6 +3958,26 @@
}
}
},
"luceneserverLastHitInfo": {
"type": "object",
"properties": {
"lastFieldValues": {
"type": "array",
"items": {
"type": "string"
}
},
"lastDocId": {
"type": "integer",
"format": "int32"
},
"lastScore": {
"type": "number",
"format": "float"
}
},
"title": "Last Hit info for search after"
},
"luceneserverLiveSettingsRequest": {
"type": "object",
"properties": {
@@ -4061,6 +4087,19 @@
}
}
},
"luceneserverLoggingHits": {
"type": "object",
"properties": {
"name": {
"type": "string",
"title": "name of the hits logger to be called, as registered by a HitsLoggerPlugin"
},
"params": {
"type": "object",
"title": "Optional logging parameters"
}
}
},
"luceneserverMatchOperator": {
"type": "string",
"enum": [
@@ -4946,6 +4985,19 @@
"$ref": "#/definitions/luceneserverRuntimeField"
},
"title": "Defines runtime fields for this query"
},
"terminateAfterMaxRecallCount": {
"type": "integer",
"format": "int32",
"description": "Stop document collection in search phase after this many recalled documents, after terminateAfter docs will be counted but not scored upto terminateAfterMaxRecallCount."
},
"loggingHits": {
"$ref": "#/definitions/luceneserverLoggingHits",
"title": "Any custom logging that should log hits after ranking"
},
"searchAfter": {
"$ref": "#/definitions/luceneserverLastHitInfo",
"title": "Keeps tracks of last hit for search after"
}
}
},
2,672 changes: 1,453 additions & 1,219 deletions grpc-gateway/search.pb.go

Large diffs are not rendered by default.