Fixed a few bugs and added postgresql full text search functionality without the table optimizations