Skip to content

Commit

Permalink
Update grpc-gateway (#703)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarthakn7 authored Aug 28, 2024
1 parent 3c2cc46 commit 9002679
Show file tree
Hide file tree
Showing 2 changed files with 1,505 additions and 1,219 deletions.
52 changes: 52 additions & 0 deletions grpc-gateway/luceneserver.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -2228,6 +2228,9 @@
"lastScore": {
"type": "number",
"format": "float"
},
"lastHitInfo": {
"$ref": "#/definitions/luceneserverLastHitInfo"
}
}
},
Expand Down Expand Up @@ -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."
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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": [
Expand Down Expand Up @@ -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"
}
}
},
Expand Down
Loading

0 comments on commit 9002679

Please sign in to comment.