I have a project where I am using hibernate with compass for indexing, now everything is working fine with normal @SearchableProperty @SearchableCompoenet etc.
But I am facing problem when I have tried to implement @SearchableDynamicProperty.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Finally got the issues and resolved it…
:: PROBLEM ::
The insert statement was not performing inside single hibernate transaction, so that’s why it was not being able to index the child table entries.
::RESOLUTION::
After firing the insert statement on child tables, following statement (of course in synchronized state) will update the current compass indexes..