Как 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 и наоборот?