Quote:
could any body please and me any working code of hibernate search.........
Hello,
if you download the sources, which you can checkout from
Subversion or
gituub, there are many unit tests which exercise all areas of Hibernate Search;
some of these tests are "complex", but most of them are made in such a way that they are actually examples of using each different feature.
additionally you can download examples from the
Seam project, some of them (like DVDStore) use Hibernate Search, so they are useful examples of fully functional applications.
Finally, if you're a Maven power users we provide a Maven archetype of Hibernate Search.
How do you know that the MassIndexer is not working properly? did you inspect the produced indexes? is it throwing any error?
To enable logging, Hibernate (and Hibernate Search too) use slf4j as logging, please refer to their documentation: you can plug in log4j or jdk's logger, in all cases you definitely want to have logging in your application.