Search results using "and" instead "or" option

What exactly are you looking to achieve? To search for a complete term consisting of the string “word1 word2” or for pages that contain both words but not necessarily as a single string? Do you need a full text search or do you just want to search in tags? In the latter case, filtering instead of searching would be better suited.

In both cases, you would have to create a custom search function.

See this post for use case 1