Hey all,
I have the following in my 'Patient' class:
@CollectionOfElements
private List<String> address;
Which just stores an array of strings as an Address for a patient.
How can I make it so that Hibernate Search will index this data?
I've tried:
@CollectionOfElements
@IndexedEmbedded(depth=1)
private List<String> address;
Using Luke (
http://www.getopt.org/luke/), I can see that the address is not in the field list.
I can't seem to find any documentation on how to do this, so any help would be appreciated.