Retrieve data from Postgresql index, using java | Hacker News Reader