hi, i'm developing a simple application, and i use hibernate annotations 3.4.0 ga and hibernate search 3.1.1 ga. the annotations part works fine, my pojo classes are succesfully persisted on my db, and i can see that after i call session.save(mypojoclass) and transaction.commit() hibernate search updates the index file (i can also check inside it with luke, and see that the new "terms" introduced by the last save are present in the index). well... after this if i create a fulltext query and i search objects with the terms introduced by the last update on the db... it returns no object at all. while... if i call the fulltextsession.index on my pojo object i can find it. what's my mistake? thx in advance
|