How to use search to include multiple "words"

Unfortunately, that’s currently not possible.

You can however create your own implementation of $pages->search(). If you comment out this and the following line and add $page->searchHits += $matches; back in at line 219, it should do exactly what you want.

I have opened an issue over at GitHub, so maybe this will become a feature in a future version.

1 Like