summaryrefslogtreecommitdiffstats
path: root/searchsummary/src/tests/extractkeywords
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2020-07-08 13:26:18 +0000
committerArne Juul <arnej@verizonmedia.com>2020-07-15 15:39:20 +0000
commit41575c2a6fe5b1fb7cc8ccd8cd60dbd737d69e36 (patch)
treec5136a80437f8a491a53954c4381ae4fa30ac34e /searchsummary/src/tests/extractkeywords
parent9d39b46d6828fb8ddead3acfa0fb0dbd8125bfe8 (diff)
more descriptive enum name for geo location term
Diffstat (limited to 'searchsummary/src/tests/extractkeywords')
-rw-r--r--searchsummary/src/tests/extractkeywords/simplequerystackitem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/searchsummary/src/tests/extractkeywords/simplequerystackitem.cpp b/searchsummary/src/tests/extractkeywords/simplequerystackitem.cpp
index 5a4b6d76b8f..f12822949f9 100644
--- a/searchsummary/src/tests/extractkeywords/simplequerystackitem.cpp
+++ b/searchsummary/src/tests/extractkeywords/simplequerystackitem.cpp
@@ -24,7 +24,7 @@ void assert_term_type(ParseItem::ItemType type) {
assert(type == ParseItem::ITEM_TERM ||
type == ParseItem::ITEM_NUMTERM ||
type == ParseItem::ITEM_NEAREST_NEIGHBOR ||
- type == ParseItem::ITEM_LOCATION_TERM ||
+ type == ParseItem::ITEM_GEO_LOCATION_TERM ||
type == ParseItem::ITEM_PREFIXTERM ||
type == ParseItem::ITEM_SUBSTRINGTERM ||
type == ParseItem::ITEM_SUFFIXTERM ||
@@ -152,7 +152,7 @@ SimpleQueryStackItem::AppendBuffer(RawBuf *buf) const
break;
case ITEM_TERM:
case ITEM_NUMTERM:
- case ITEM_LOCATION_TERM:
+ case ITEM_GEO_LOCATION_TERM:
case ITEM_PREFIXTERM:
case ITEM_SUBSTRINGTERM:
case ITEM_EXACTSTRINGTERM: