A federal judge in Manhattan has ordered the partial unsealing of a government search warrant and supporting documents stemming from a federal inquiry into emails belonging to Huma Abedin, a top aide to Hillary Clinton.

The judge, P. Kevin Castel of United States District Court, ordered on Monday that the documents be posted on the court’s docket at noon on Tuesday unless his decision is appealed and stayed or modified by a federal appeals court.

The emails were discovered by the Federal Bureau of Investigation during an unrelated investigation of Anthony D. Weiner, the former congressman and estranged husband of Ms. Abedin. Mr. Weiner has been under investigation by federal prosecutors in Manhattan over allegations that he exchanged illicit text messages with a 15-year-old girl.

The emails, which the F.B.I. director, James B. Comey, revealed to Congress on Oct. 28, jolted Mrs. Clinton’s presidential campaign and led to broad criticism of his handling of the investigation. On Nov. 6, Mr. Comey told Congress that the bureau’s review of the emails had not changed its conclusion: Mrs. Clinton should face no charges over her handling of classified information.