phrase
और term
Structured
क्वेरी में अलग कैसे हैं?संरचित प्रश्नों में वाक्यांश और शब्द के बीच क्या अंतर है?
मैं अपने CloudSearch डोमेन पास यह डेटा:
{
"guid": 9,
"operating_systems": [
"12345", "123"
],
"manufacturer": "sealand",
"model": "gaming tree whale plum",
"identifier": "gaming tree whale plum",
"type": "computer",
"created_at": "1982-10-14T14:43:54Z"
}
"model"
टाइप text
है, "identifier"
टाइप literal
है, "created_at"
टाइप date
है।
के कुछ प्रश्नों करते हैं:
(phrase field=model 'tree whale') match
(phrase field= identifier 'tree whale') no match
(phrase 'tree whale') match
(phrase field=created_at '1982-10-14T14:43:54Z') match (this shouldn't match according to docs)
(term field=model 'tree whale') match
(term field= identifier 'tree whale') no match
(term 'tree whale') match
(term field=created_at '1982-10-14T14:43:54Z') match
क्या मैं phrase
साथ कर सकते हैं कि मैं term
साथ नहीं कर सकते और उपाध्यक्ष प्रतिकूल है?
'phrase' सटीक क्रम और' यदि क्षेत्र कहीं भी खोज पद शामिल term' से मेल खाता है मेल खाता है। "स्लोपी वाक्यांश" संभव हैं। क्या आप किसी अन्य विशिष्ट मतभेद की तलाश में हैं? – jbird