THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
For example, the following Customer object contains a Person field. The Person object contains a Page fieldexample both the Customer and Person objects contain an instance or collection of a Page object.
Code Block |
---|
public class Customer implements Serializable { private String name; private Collection<String> phoneNumbers; private Collection<Person> contacts; private Page[] myHomePages; ...... } public class Person implements Serializable { private String name; private String email; private int revenue; private String address; private String[] phoneNumbers; private Page homepage; ....... } public class Page implements Serializable { private int id; // search integer in int format private String title; private String content; ...... } |
...
Out-Of-Box implementation
We 'll will provide an out-of-box implementation for the LuceneSerializer: FlatFormatSerializer.
...