aspose file tools*
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
Author

hibernate search indexing not working

Nrapendra Sharma
Ranch Hand

Joined: Jun 16, 2008
Posts: 31
Hi,
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 - 3.3.0.ga
hibernate-core - 3.3.1.GA
hibernate-entitymanager - 3.4.0.GA
spring - 2.5.3

What can be the problem ??

Regards,
Nrapendra


Regards,
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 ?

Regards,
Nrapendra
 
Consider Paul's rocket mass heater.
 
subject: hibernate search indexing not working