permaculture playing cards*
The moose likes Object Relational Mapping and the fly likes hibernate search indexing not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "hibernate search indexing not working" Watch "hibernate search indexing not working" New topic

hibernate search indexing not working

Nrapendra Sharma
Ranch Hand

Joined: Jun 16, 2008
Posts: 31
I m trying to integrate hibernate search in my existing application. According to the tutorial of hibernate search i have added following properties in hibernate properties in applicationContext.xml

Also i have added the annotation on the entity classes for which i want to enable search.
Using @Indexed on class and @Field on the fields.

Now when i am runniong the server and doing CRUD operation on entity the it is reflecting in DB but there is not indexing done . I cant see on file system.

Following are the versions i am using:
hibernate-search - 3.1.0.GA
hibernate-annotations - 3.4.0.GA
hibernate-commons-annotations -
hibernate-core - 3.3.1.GA
hibernate-entitymanager - 3.4.0.GA
spring - 2.5.3

What can be the problem ??


Nrapendra Sharma
Nrapendra Sharma
Ranch Hand

Joined: Jun 16, 2008
Posts: 31
Problem was that i was trying to index a abstract class..
Now its resolved..
But now i am not getting search result on the indexed entity

Any idea where i m wrong ?

wood burning stoves
subject: hibernate search indexing not working
Similar Threads
calling a method in hibernate DAO through JMX export MBean
javax.resource.ResourceException: enlist: caught Exception
Character encoding problem while using oracle 11g and hibernate along with Spring
hibernate search problem w/ entity inheritance
Hibernate with annotations problems