Incremental Retrieval And Ranking Of Complex Patterns From Text Repositiories