I need to search for documents matching certain filters, and with either a set of document ids or yet more filters. So lets say match all documents with “spain” in their title, but also “europe” in the continent field, or having a doc id of 1, 2 or three. Is this possible. MATCH does not seem to accept the @id field. Something like below. Of
SELECT * FROM things
WHERE MATCH('@title spain (@continent europe | (@id 1 | 2 | 3)"')
I also tried the one below, but it seems only one MATCH is allowed.
SELECT * FROM things
WHERE
MATCH('@continent europe @title spain') OR
(
MATCH('@title spain') AND
id IN (1, 2, 3)
)