How to convert Boolean query to equivalent tag filer query

Hi Team,

Is there any helper method is there to convert a boolean string(“Book AND Movie”) to an equivalent tagFilter query [“Book”, “Movie”], or is there a provision to pass the boolean string(“Book AND Movie”) query to perform tagfiltering?

Thanks.

Is there any validation check performed while executing tagFilter? When tried with an invalid tag filter(exp: [{},’’ ,‘sci-fi’]) query i see no results instead or some helpful validation messages.