Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

hibernate search indexing not working

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic