-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
Description
Is your feature request related to a problem?
If I have an external pipeline, I want to bring the results into SRW.
What solution would you like?
This approach assumes that I am using the other APIs...
Here is a sample CURL command:
curl -s -X PUT "localhost:9200/_plugins/search_relevance/experiments" \
-H "Content-type: application/json" \
-d'{
"querySetId": "1234-queryset-id-5678",
"searchConfigurationList": ["abcd-searchConfiguration-defg"],
"judgmentList": ["hjkl-judgements-id-asdf"],
"type": "POINTWISE_EVALUATION_IMPORT",
"evaluationResultList": [
{
"searchText": "led tv",
"judgmentIds": [
"dfa504f8-eae9-41b5-8edc-23ba31f58e45"
],
"documentIds": [
"B079VXT54Z",
"B07MXBCQCF",
"B07ZFBTFQF",
"B0915F456C",
"B07176GBXQ",
"B07QGQGDRM",
"B01LY0FCQO",
"B079NCCK2M",
"B083GRRW2Z",
"B076KMND87"
],
"metrics": {
"coverage": "0.0",
"precision@10": "0.0",
"ndcg": "0.0",
"precision@5": "0.0",
"MAP": "0.0"
}
},
{
"searchText": "tv",
"judgmentIds": [
"dfa504f8-eae9-41b5-8edc-23ba31f58e45"
],
"documentIds": [
"B07GPN3MRY",
"B07176GBXQ",
"B07W7RP985",
"B01FH7EQNW",
"B08718Q168",
"B086PWXVFW",
"B06XKFWSJ4",
"B01N1SSOUC",
"B07P72ZB37",
"B01AJJN0DA"
],
"metrics": {
"coverage": "0.0",
"precision@10": "0.0",
"ndcg": "0.0",
"precision@5": "0.0",
"MAP": "0.0"
}
}
]
}'
What alternatives have you considered?
A clear and concise description of any alternative solutions or features you've considered.
Do you have any additional context?
Add any other context or screenshots about the feature request here.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
🆕 New