Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hibernate search indexing not working

 
Nrapendra Sharma
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Nrapendra Sharma
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic