Dynamic user profiles and flexible queries in office document retrieval systems