Guns, drugs found in court-ordered search