File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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 ?

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