I am using Compass with Hibernate and POJOs. I am starting Compass with the SessionFactory and I map a table from a PostgreSql database. I do not make any change in this database. Using the compass GPS I index the whole table with all the fields. When I try to search "John" it does not return anything even if it really exists in the table. It works for another name but not this one.
It gets stranger! I backup my database and restore it to another name. I plug my application on it and rebuild the index. In this case, when I search for John I get some results but not all of them.
My database is not big! The index is only 7Mb on the harddisk
I found my mistake
Now I use HibernateGpsDevice instead of Hibernate3GpsDevice and it works fine! Besides, the index is created a bit faster now!
I have not really understood the difference between these two classes so I would really appreciate a hint...