ScaleDoc: Scaling LLM-based Predicates over Large Document Collections