Hi,
I use HIBERNATE SEARCH to make fulltext research. I have indexed several properties of my objects. Later on, in my java code, I want to get in a generic manner the indexed properties of my objects in order to build my request. This would give me for example in my Lucene request :
Code:
String queryString =getproperty1FromObject1()+":"+searchString+" OR " +getproperty2FromObject1()+":"+searchString
getproperty1FromObject1() would give me for example the indexed property "name" of my indexed object "Item"
getproperty2FromObject1() would give me for example the indexed property "description" of my indexed object "Item"
Do you know how I can get in a generic manner these indexed properties relatively to my indexed objects ? Thank-you in advance for your answers