There are different levels of "search" and the law (as interpreted by the courts) is not currently fully settled. The LegalEagle YouTube video on this case is excellent, as always:

https://www.youtube.com/watch?v=_2rokxux5cU