This looks correct. What is the mapping of found_in_rv
field?
If type is set to text
, querying for 9.0
will match both 9.0
and AGM 9.0
(so there is no need for the second OR
condition.
If type is set to keyword
, querying for 9.0
will only match 9.0
.
Elasticsearch may have created found_in_rv.keyword
for you as well, so you can try:
(found_in_rv.keyword:"9.0" OR found_in_rv.keyword:"AGM 9.0")
More information here: Timelion query - #2 by Stacey_Gammon