Structured
クエリでは、phrase
とterm
の違いは何ですか?構造化クエリのフレーズと用語の違いは何ですか?
私は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"
は"identifier"
が"created_at"
がdate
型で、literal
を入力され、text
を入力しています。
はのは、いくつかのクエリを作成してみましょう:
(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
は私がterm
およびその逆に行うことができないphrase
に何かできることはありますか?
'phrase'は、正確な順序と' term'の試合に一致します。 「愚かなフレーズ」が可能です。他の具体的な違いをお探しですか? – jbird