Add score sort support
Add test for text index and search