mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 09:28:27 +00:00
Update to current format.
This commit is contained in:
parent
1080df51fc
commit
2a148a5b25
@ -48,72 +48,87 @@ This will yield the following result:
|
||||
"_id": "1",
|
||||
"matched": true,
|
||||
"explanation": {
|
||||
"value": 1.0,
|
||||
"value": 0.2876821,
|
||||
"description": "sum of:",
|
||||
"details": [
|
||||
{
|
||||
"value": 1.0,
|
||||
"value": 0.2876821,
|
||||
"description": "weight(message:search in 0) [PerFieldSimilarity], result of:",
|
||||
"details": [
|
||||
{
|
||||
"value": 1.0,
|
||||
"description": "fieldWeight in 0, product of:",
|
||||
"value": 0.2876821,
|
||||
"description": "score(doc=0,freq=1.0 = termFreq=1.0\n), product of:",
|
||||
"details": [
|
||||
{
|
||||
"value": 1.0,
|
||||
"description": "tf(freq=1.0), with freq of:",
|
||||
"details": [
|
||||
{
|
||||
"value": 1.0,
|
||||
"description": "termFreq=1.0",
|
||||
"details": []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"value": 1.0,
|
||||
"value": 0.2876821,
|
||||
"description": "idf(docFreq=1, docCount=1)",
|
||||
"details": []
|
||||
"details": [ ]
|
||||
},
|
||||
{
|
||||
"value": 1.0,
|
||||
"description": "fieldNorm(doc=0)",
|
||||
"details": []
|
||||
"description": "tfNorm, computed from:",
|
||||
"details" : [
|
||||
{
|
||||
"value" : 1.0,
|
||||
"description" : "termFreq=1.0",
|
||||
"details" : [ ]
|
||||
},
|
||||
{
|
||||
"value" : 1.2,
|
||||
"description" : "parameter k1",
|
||||
"details" : [ ]
|
||||
},
|
||||
{
|
||||
"value" : 0.75,
|
||||
"description" : "parameter b",
|
||||
"details" : [ ]
|
||||
},
|
||||
{
|
||||
"value" : 1.0,
|
||||
"description" : "avgFieldLength",
|
||||
"details" : [ ]
|
||||
},
|
||||
{
|
||||
"value" : 1.0,
|
||||
"description" : "fieldLength",
|
||||
"details" : [ ]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"value": 0.0,
|
||||
"description": "match on required clause, product of:",
|
||||
"details": [
|
||||
{
|
||||
"value": 0.0,
|
||||
"description": "# clause",
|
||||
"details": []
|
||||
},
|
||||
{
|
||||
"value": 1.0,
|
||||
"description": "_type:tweet, product of:",
|
||||
"details": [
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"value" : 0.0,
|
||||
"description" : "match on required clause, product of:",
|
||||
"details" : [
|
||||
{
|
||||
"value" : 0.0,
|
||||
"description" : "# clause",
|
||||
"details" : [ ]
|
||||
},
|
||||
{
|
||||
"value" : 1.0,
|
||||
"description" : "_type:tweet, product of:",
|
||||
"details" : [
|
||||
{
|
||||
"value": 1.0,
|
||||
"description": "boost",
|
||||
"details": []
|
||||
"value" : 1.0,
|
||||
"description" : "boost",
|
||||
"details" : [ ]
|
||||
},
|
||||
{
|
||||
"value": 1.0,
|
||||
"description": "queryNorm",
|
||||
"details": []
|
||||
"value" : 1.0,
|
||||
"description" : "queryNorm",
|
||||
"details" : [ ]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
--------------------------------------------------
|
||||
// TESTRESPONSE
|
||||
|
||||
|
@ -163,6 +163,7 @@ Response:
|
||||
"density": 100,
|
||||
"sum_doc_freq": 1,
|
||||
"sum_total_term_freq": 1,
|
||||
"type": "string",
|
||||
"searchable": true,
|
||||
"aggregatable": false,
|
||||
"min_value": "elasticsearch",
|
||||
@ -174,6 +175,7 @@ Response:
|
||||
"density": 100,
|
||||
"sum_doc_freq": 4,
|
||||
"sum_total_term_freq": 4,
|
||||
"type": "string",
|
||||
"searchable": true,
|
||||
"aggregatable": false,
|
||||
"min_value": "for",
|
||||
@ -185,6 +187,7 @@ Response:
|
||||
"density": 100,
|
||||
"sum_doc_freq": 2,
|
||||
"sum_total_term_freq": 2,
|
||||
"type": "string",
|
||||
"searchable": true,
|
||||
"aggregatable": false,
|
||||
"min_value": "kimchy",
|
||||
@ -194,7 +197,7 @@ Response:
|
||||
}
|
||||
},
|
||||
"conflicts": {
|
||||
"rating": "Field [rating] of type [whole-number] conflicts with existing field of type [text] in other index." <2>
|
||||
"rating": "Field [rating] of type [integer] conflicts with existing field of type [string] in other index." <2>
|
||||
}
|
||||
}
|
||||
--------------------------------------------------
|
||||
@ -237,6 +240,7 @@ Response:
|
||||
"density": 100,
|
||||
"sum_doc_freq": 2,
|
||||
"sum_total_term_freq": 2,
|
||||
"type": "string",
|
||||
"searchable": true,
|
||||
"aggregatable": false,
|
||||
"min_value": "great",
|
||||
@ -248,6 +252,7 @@ Response:
|
||||
"density": 100,
|
||||
"sum_doc_freq": 1,
|
||||
"sum_total_term_freq": 1,
|
||||
"type": "string",
|
||||
"searchable": true,
|
||||
"aggregatable": false,
|
||||
"min_value": "elasticsearch",
|
||||
@ -259,6 +264,7 @@ Response:
|
||||
"density": 100,
|
||||
"sum_doc_freq": 1,
|
||||
"sum_total_term_freq": 1,
|
||||
"type": "string",
|
||||
"searchable": true,
|
||||
"aggregatable": false,
|
||||
"min_value": "kimchy",
|
||||
@ -274,6 +280,7 @@ Response:
|
||||
"density": 100,
|
||||
"sum_doc_freq": -1,
|
||||
"sum_total_term_freq": 1,
|
||||
"type": "integer",
|
||||
"searchable": true,
|
||||
"aggregatable": true,
|
||||
"min_value": 10,
|
||||
@ -287,6 +294,7 @@ Response:
|
||||
"density": 100,
|
||||
"sum_doc_freq": 4,
|
||||
"sum_total_term_freq": 4,
|
||||
"type": "string",
|
||||
"searchable": true,
|
||||
"aggregatable": false,
|
||||
"min_value": "for",
|
||||
@ -298,6 +306,7 @@ Response:
|
||||
"density": 100,
|
||||
"sum_doc_freq": 1,
|
||||
"sum_total_term_freq": 1,
|
||||
"type": "string",
|
||||
"searchable": true,
|
||||
"aggregatable": false,
|
||||
"min_value": "kimchy",
|
||||
|
Loading…
x
Reference in New Issue
Block a user