Added sample page indexer in groovy