now support full index and JSON REST API