A bench of justices said that restricting searches to case-specific details alone would make it difficult for users to locate and access judgments.